iOS Question iGoogleMaps Zoom doesn't work

Discussion in 'iOS Questions' started by mauro vicamini, Jul 18, 2015.

  1. mauro vicamini

    mauro vicamini Active Member Licensed User

    It seems that the zoom does't work.
    Try this:
    Code:
    Private Sub AddMap
        gmap.Initialize(
    "gmap", ApiKey)
        Panel1.AddView(gmap, 
    00100%x100%y)
       
        gmap.MapType = gmap.MAP_TYPE_TERRAIN
        gmap.GetUiSettings.CompassEnabled = 
    True
        gmap.GetUiSettings.MyLocationButtonEnabled = 
    True
        gmap.GetUiSettings.ZoomGesturesEnabled = 
    True
        gmap.CameraPosition.Initialize(
    45,9,16)

    End Sub
    It always stay at zoom level 2.
    If I'm wrong, pls post me some working example code for zooming at level 16 or more.

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Moved to the questions forum.

    The correct way to change the camera position:
    Code:
    Dim c As CameraPosition
       c.Initialize2(
    32351031545)
       gmap.AnimateCamera(c)
     
  3. mauro vicamini

    mauro vicamini Active Member Licensed User

    Thanks Erel!
     
Loading...