On Dec 2, 7:27 pm, dan_default <[email protected]> wrote:
> I have a polygons being drawn from an array of coords from a
> database.
>
> When testing locally (local server, xampp) it works fine.
> However, when I uploaded everything to a remote server, they
> don't seem to fire the click event. The mouse cursor doesn't
> even change to a "pointing had".
>
> Then only difference is that it is on a remote server.
Can you provide a link to a map on the "remote server" that exhibits
the problem?
Can't really help without one. I don't have any problems with
clickable polygons.
-- Larry
> Here's my function that sets the event for the polys:
>
> function bindPolyInfoWindow(poly, map, infoWindow, html, htmlSideDiv) {
> google.maps.event.addListener(poly, 'click', function(e) {
> infoWindow.setContent(html);
> infoWindow.open(map);
> infoWindow.setPosition(e.latLng);
> showInDiv(htmlSideDiv);
> });
> }
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.