On Jul 7, 7:55 am, mheavers <[email protected]> wrote:
> Hi - wondering why I'm getting this error. Here's my code:
>
> var polygon = new google.maps.Polygon([
> new google.maps.LatLng(-123.0908203125,
> 48.91624270741674),
> new google.maps.LatLng(-122.3876953125,
> 48.130412287103184),
> ...
> new google.maps.LatLng(-123.0908203125,
> 48.91624270741674)
> ], "#000000", .5, 1, "#ff0000", 0.5);
> map.addOverlay(polygon);
>
> Any ideas?
1. read and follow the posting guidelines and post a link to your map.
2. the v3 version of the API doesn't have a map.addOverlay method
so...
either post your question on the v2 forum (if you are using v2)
or remove that call as it is not needed in v3.
-- Larry
--
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.