Move camera to MarkerItem


Is it possible and if it is, how can I position a camera to MarkerItem, so that user can see it in Android?


Can you explain more what do you mean?

Since it involves the map library (Mapsforge or VTM) better discuss this in their forum.


Thanks for your reply

Well here is an example from how it is done in Google Maps

LatLng latLng = // whatever
float zoom = // whatever
mapfragment.getMap().moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, zoom));


I hope you get what I mean
Cheers :slight_smile:

What GraphHopper version?

For 0.9-SNAPSHOT using VTM like seen in the sample could use:, longitude, 1 << zoom);