> I have a hunch that Berry meant { lat:nnn, lng:nnn }, not { x:nnn, y:nnn }.
> You might try that and see if it works better.
>
>   
Hmm. So this is the "usual" way (shortened, not working):

    points.push(new GLatLng(southWest.lat() + latSpan * Math.random(),
                                  southWest.lng() + lngSpan * 
Math.random()));
    ....   
    var polygonGreen = new GPolygon(points, lineColor, lineThickness, 
lineOpacity, "#00FF00", 0.

In all samples, working with JSON objects, even points have been coded 
as encoded polylines, like this:

new GPolygon.fromEncoded({ polylines: [ {points: 
"ihglFxjiuMkAeSzMkHbJxMqFfQaOoB", levels: "PFHFGP", color: "#0000ff", 
opacity: 0.7, weight: 3, numLevels: 18, zoomFactor: 2}, {points: 
"cbglFhciuMY{FtDqBfCvD{AbFgEm@", levels: "PDFDEP", color: "#0000ff", 
opacity: 0.7, weight: 3, numLevels: 18, zoomFactor: 2}], fill: true, 
color: "#0000ff", opacity: 0.4, outline: true });

So there is neither a "{ x:nnn, y:nnn }" nor a "{ lat:nnn, lng:nnn }". 
What do I miss here?
 
> -Mike
>
>
> >
>
>   

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