Unable to set to default globeView on button click in TomTom in android — TomTom Community

Unable to set to default globeView on button click in TomTom in android

AnimeshAnimesh Posts: 2 [Apprentice Seeker]
Based on the specific requirement, on pressing the zoomout option in the Tomtom ZoomBarView, I am trying to show globe view to the user. While it zooms out using the below code:

getMapHolder().getMap().getCamera().updateProperties(new CameraUpdate().zoomOut(), ZOOM_INTERPOLATION, ZOOM_DURATION_LONG);


I am try to set it to a default globe view where the user can see the globe on pressing zoomout. I tried the below code which didn't workout:

getMapHolder().getMap().getCamera().getProperties().setScale(141361646.3618723200);


Please help me resolving this issue.

Comments

  • rider1riderrider1rider Posts: 609 [Revered Pioneer]
    what is your question about?
  • AnimeshAnimesh Posts: 2 [Apprentice Seeker]
    @rider1rider on pressing zoomout, instead of zooming out for a duration, I want to show the globeview of the map with a particular scale parameter. Please find the attached image

    l2r08x7e42a2.jpg

    On pressing the zoom out button, I want to show this globeview to user all the time.
Sign In or Register to comment.

Who's Online in this Category3

jkubl
jkubl
kork
kork
jkubl
jkubl