On Dec 28, 4:10 pm, donb <[email protected]> wrote:
> How exactly does one DO that so it is acceptable to GPolygon()?  I
> swapped out an array of GLatLng with an array like this:
>
> [{"x":"-85.9375839233398440","y":"39.9271392822265630"},
> {"x":"-85.9373779296875000"},"y":"39.9264373779296870"]
>
> (this is shortened to two points for illustration purposes) in my call
> to GPolygon() and I get nothing at all, despite it working perfectly
> (although slowly) with an array of GLatLng.
>
> don

A little late to the conversation.  Sorry.

For a simple example, look at:

    www.polyarc.us/polyfix

If you use quotes, you will have to use "eval".  If you drop the
quotes, it ought to work.

Instead of "parseFloat(whatever)", you can use "whatever-0".  If
"whatever" is a string, it will be converted to a floating point
number.  If "whatever" is already a floating point number, it will do
nothing.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to