Google Maps API v3 – Polygons not appear in Internet Explorer

Programmatically drawing an area on a Google Map using Polygon overlay from Google Maps API v3. Area appears as expected in Firefox and Chrome bowsers, but is not visible in Internet Explorer.

Issue was caused by an extra coma defining polygon coordinates:

Polygon overlay in Google Maps API v3

You don’t need comma after last set of coordinates.
After removing the extra comma, polygon was visible in IE as in other browsers.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *