Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utiliser des Views et LayoutParams pour l'info bulle #48

Open
pyricau opened this issue Jun 18, 2012 · 0 comments
Open

Utiliser des Views et LayoutParams pour l'info bulle #48

pyricau opened this issue Jun 18, 2012 · 0 comments

Comments

@pyricau
Copy link
Member

pyricau commented Jun 18, 2012

Tips donnés par Mathieu :

MapView.LayoutParams mapParams = new MapView.LayoutParams(//
    ViewGroup.LayoutParams.WRAP_CONTENT, //
    ViewGroup.LayoutParams.WRAP_CONTENT, //
    poi.getGeoPoint(), -85, -15, //
    MapView.LayoutParams.LEFT | MapView.LayoutParams.BOTTOM);

mapView.addView(popup, mapParams);

=> Ensuite, la position de la bulle est générée toute seule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant