dapriett / nativescript-google-maps-sdk

Cross Platform Google Maps SDK for Nativescript
MIT License
244 stars 164 forks source link

Marker drag end, get new position of marker #456

Closed liamcharmer closed 3 years ago

liamcharmer commented 3 years ago

Hello! I have the onMarkerEndDragging method running, however i'm unsure how to get the new position of the marker, i am not able to seem to get the new position

liamcharmer commented 3 years ago

Solved it and figured it out. Apologies.

   onMarkerEndDragging(args) {
      let endLon = args.marker.position.longitude;
     let endLat =  args.marker.position.latitude;
    },