angularjs - get the location of the stationary marker when map changes -


i'm developing mobile app in ionic.my requirement had stationary image on map, need location under image.. below code found dragging marker , getting location.

var mylocation = new google.maps.marker({             position: new google.maps.latlng(pos.coords.latitude, pos.coords.longitude),             map: map,             title: "my location",             draggable:true         });  google.maps.event.addlistener(loc, 'dragend', function(evt){           console.log('current latitude:',evt.latlng.lat(),'current longitude:',evt.latlng.lng());           }); 

but need stationary image , location when map dragged thing in below image. there rounded circle, when drag map , can see location under image..

anyone please guide me achieve that.

thankyou


enter image description here


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -