Android Question google maps cameraposition.initialize not working

shb777

Active Member
Licensed User
Longtime User
this is from the google maps tutorial v2


Sub MapFragment1_Ready
gmap = MapFragment1.GetMap
Dim m1 As Marker = gmap.AddMarker(10, 30, "test")
m1.Snippet = "This is the snippet"
gmap.CameraPosition.Initialize2(15.16,120.55,4.0,0.0,0.0)
gmap.CameraPosition.Initialize(15.00, 120.00,4.0)

End Sub

i have a map but the two initialize calls don't do anything
 

DonManfred

Expert
Licensed User
Longtime User
Please use code tags when posting code!

B4X:
Dim cp As CameraPosition
      cp.Initialize(15.16,120.55,4.0)
      gmap.AnimateCamera(cp)
 
Upvote 0
Top