On Oct 23, 4:46 am, Walter <[EMAIL PROTECTED]> wrote: > I am currently seeing an issue which has been discussed a long time > ago yet but is currently not correct - or, I completely do not see > what I am doing wrong. > > I built a small example to demonstrate, you can view it under > > http://www.vandergeest.ch/TestPolyline.htm > > As the page opens, you can only see the map. As soon as you zoom out > by 1 level, you will see the polyline. > > As you can see in the source code, I exclude all problems of setting > strings instead of numeric values to the GLatLng object by specifying > them directly. > > Why do I think it might be a bug? Might be. I don't see anything on the issues tracker: http://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=apitype:Javascript+polyline+&colspec=ID+Type+Status+Introduced+Fixed+Summary+Internal+Stars&cells=tiles
If I encode the polyline using this page: http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/encodeForm.html it works: var polyline1_1 = new GPolyline.fromEncoded({ color: "#0000ff", weight: 4, opacity: 0.8, points: "[EMAIL PROTECTED]| [EMAIL PROTECTED]", levels: "PKGHFNKLP", zoomFactor: 2, numLevels: 18 }); map.addOverlay(polyline1_1); -- Larry > If I change the version flag of the > google maps include to something between 2.89 and 2.91, the polyline > appears in all zoom levels. > > Any help would be greatly appreciated! > Walter. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
