Move camera to MarkerItem

Hello

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

Regards

Can you explain more what do you mean?

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

Hi

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));

Sorce: http://stackoverflow.com/questions/28127740/android-google-maps-move-camera

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:

mapView.map().setMapPosition(latitude, longitude, 1 << zoom);