An array of infoWindow in Google maps api

后端 未结 2 769
逝去的感伤
逝去的感伤 2021-01-26 08:14

I looked for error and I couldn\'t find it. Any google maps infoWindow always shows the same information for some reason.

Here is a coffeescript code

inf         


        
2条回答
  •  Happy的楠姐
    2021-01-26 08:55

    I had the same... try to create marker in separate function. It helped for me.

    Check it out: https://developers.google.com/maps/articles/phpsqlsearch_v3

    Find code with "searchLocationsNear(center)" function.

提交回复
热议问题