InfoWindow not Displaying

后端 未结 4 661
谎友^
谎友^ 2021-01-28 08:54

I\'m trying to have this so that someone clicks on the map, and an infoWindow pops up telling them that latlng. For now, just trying to figure out how to get an infoWindow to co

4条回答
  •  半阙折子戏
    2021-01-28 09:40

    Event is a LatLng

     google.maps.event.addListener(map, 'click', function(event) {
          InfoWindow(event);
        });
    

提交回复
热议问题