dylanfprice / angular-gm

AngularJS Google Maps Directives
MIT License
198 stars 47 forks source link

How to call marker function #60

Closed tonholis closed 7 years ago

tonholis commented 10 years ago

Hello my friend!

First of all, thank you for share this with us!

I need to do something like this: http://www.daftlogic.com/sandbox-google-maps-centre-crosshairs.htm The user should drag the map with a centered marker and then I need to be able to get this center coordinates.

I saw that I need to call a marker function inherited from MVCObject, but I don't understand how to get this on gmMarkers: https://developers.google.com/maps/documentation/javascript/reference#MVCObject

Can you give me a clue?