google maps get radius

后端 未结 1 1421
[愿得一人]
[愿得一人] 2021-01-28 17:50

I\'m having a stupid hard time with this google maps javascript code. I want to get the return of the radius of a circle that is produced on google maps. Google API offers the c

相关标签:
1条回答
  • 2021-01-28 18:42

    You seem to have a few flow problems here. Trying to use the drawingManager variable, which is bound by the initialize function.

    Here: http://jsfiddle.net/RN3QL/ - I've moved the binding of the circle complete function to within the initialize function, and stitched up a few smaller flow issues.

    0 讨论(0)
提交回复
热议问题