iOS Question iGoogleMaps and Draggable Marker

mauro vicamini

Active Member
Licensed User
Longtime User
Hi everyone,
if I set a marker as draggable, what event of what object will be fired at the drop of the marker to get his position?
I use iGoogleMap not Webview.

Thanks.
 

mauro vicamini

Active Member
Licensed User
Longtime User
No event is fired. The only marker related event is the MarkerClick event.
It's possible to resolve with inline Objective-C?
I've found this
B4X:
-(void)mapView:(GMSMapView *)mapView didEndDraggingMarker:(GMSMarker *)marker{
    if(marker.userData = @"xMark")
        NSLog(@"New marker location: %@", marker.location);
}
but i don't know how to pass mapwiew reference and the marker reference and how to rise a B4I event to catch the new position. I don't know also how to call it from B4I code.
 
Upvote 0

Similar Threads

Top