How to use containsLocation in Google maps geometry library.

前端 未结 2 1976
梦如初夏
梦如初夏 2020-12-11 07:43

I am trying to use the containsLocation from the Google geometry library, but can\'t get it to work...

var point = new google.maps.LatLng(51.331         


        
2条回答
  •  一个人的身影
    2020-12-11 08:09

    i had the same problem ([object Object]), I could solve that creating the polygon variable like that: draw = new google.maps.Polygon({paths:polyOptions});

    Then the problem disappeared.

提交回复
热议问题