Google Maps v3: check if point exists in polygon

后端 未结 7 1919
-上瘾入骨i
-上瘾入骨i 2020-11-27 14:09

I am looking to find a way of checking if a point exists inside a polygon in Google Maps v3 (JavaScript). I\'ve searched everywhere and the only solutions I have found so fa

7条回答
  •  伪装坚强ぢ
    2020-11-27 14:19

    You have a very good example of containsLocation() method in Google Maps API documentation.

提交回复
热议问题