J jchal Active Member Licensed User Longtime User Mar 28, 2016 #1 i magages to set markers but i would like to center to the last marker , the code i am using is what is the command to center it ? B4X: Sub MapFragment1_Ready gmap = MapFragment1.GetMap Dim m1 As Marker = gmap.AddMarker(10, 30, "test") m1.Snippet = "This is the snippet" End Sub
i magages to set markers but i would like to center to the last marker , the code i am using is what is the command to center it ? B4X: Sub MapFragment1_Ready gmap = MapFragment1.GetMap Dim m1 As Marker = gmap.AddMarker(10, 30, "test") m1.Snippet = "This is the snippet" End Sub
eurojam Well-Known Member Licensed User Longtime User Mar 28, 2016 #2 it will be something like: B4X: Dim CameraPosition1 As CameraPosition CameraPosition1.Initialize(10,30, 16) gmap.AnimateCamera(CameraPosition1) Upvote 0
it will be something like: B4X: Dim CameraPosition1 As CameraPosition CameraPosition1.Initialize(10,30, 16) gmap.AnimateCamera(CameraPosition1)