andyhill Posted September 15, 2018 Share Posted September 15, 2018 I have a need to read the Title of the Marker being dragged but all my attempts fail, everything else works as expected - please advise how to read the Title inside the Listener Event - Thanks in advance. ' marker.addListener("drag", dragEvent);'+ ' function dragEvent(event)'+ ' {'+ ' var latitude = event.latLng.lat(); '+ ' var longitude = event.latLng.lng(); '+ ' var myTitle = marker.title; '+ // this.title(), this.getTitle(), event.title(), event.getTitle(), marker.title(), marker.getTitle() ' ajaxRequest(GPSmForm.UnimHTMLFrame1, "_BgnDragPoint", ["Lat="+latitude, "Lng="+longitude, "Title="+myTitle]);'+ ' }'+ Link to comment Share on other sites More sharing options...
Sherzod Posted September 15, 2018 Share Posted September 15, 2018 Hi, Use this.title Link to comment Share on other sites More sharing options...
andyhill Posted September 15, 2018 Author Share Posted September 15, 2018 Thanks, I tried this earlier but missed it's results in my coding cycle. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now