On Dec 23, 9:48 pm, "Neil.Young" <[email protected]> wrote:
> http://maps.alphadex.de/maps/test.html
>
> Hopefully this is of use now. More than 50 lines, but surely not too
> hard to understand.
> Regards

The "polylines" property of the first argument of GPolygon.fromEncoded
must be an array.

Replace:

    new GPolygon.fromEncoded({polylines:poly ... });

With:

    new GPolygon.fromEncoded({polylines:[poly] ... });

Five decimal places of accuracy is enough.  The API ignores the extra
precision.

If you use quotes around the property names of your object, I believe
you must use "eval".  I may be wrong.  It works without the quotes.
It fails with the quotes.

Unless '__type':'Google+point' serves a useful purpose, it consumes a
lot of extra memory.

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