I am needing to be able to generate a polygon on my server and then
pass it back to the client.
Ok, I can create the series of latitude / longitude pairs which
describe the polygon and then pass it back to the client in a JSON
response.

What I would really like to do, is to have this JSON response
recognised as containing an array of LatLng objects that I can pass
directly to the Polygon constructor in the PolygonOptions object.

Has anyone done this kind of thing ?
What would be the "right" way of doing this ?

Simon

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to