Sure can do it via AJAX/JSON. Return your polygon data as an object
with an array of points and create the polygon from that. While I
don't have a simple example worked up, you can view the JSON data at
http://search.missouristate.edu/map/JSON/ShuttleRoutes.aspx - keep in
mind that the data changes based on the time of the day.

Chad Killingsworth

On Apr 25, 3:34 pm, Richard <[email protected]> wrote:
> Hi there,
>
> I have just created 8 polygones with a text total of 756 lines, so I
> would like to save them in an external file but because every line
> starts with "new google.maps.LatLng(", the google map needs to be
> loaded before I can include this. Is there perhaps a way I can do this
> via AJAX/JSON? this way I could protect my hours of work aswell.
>
> What is the best way of doing this, and preferrably with as much
> protection as possible..?
>
> Thanks,
>
> Richard
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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.

Reply via email to