Thanks alot, this helped a bunch.

On Jul 14, 4:06 pm, Mike Williams <[email protected]> wrote:
> Wasn't it sbentzen who wrote:
>
>
>
> >i heard somewhere that you need at least 18 layers to place polylines?
> >i happen to be having problems placing GPolylines on a custom map,
> >help?
>
> Yes. For efficiency, the API performs some of the lat/lng to pixel
> calculations of the polylines only once, at zoom level 17, rather than
> recalculating them whenever the zoom changes. If you create your custom
> map with less than "new GMercatorProjection(18)" that code will crash.
> [You need 18 zoom levels, numbered 0 to 17, in order for level 17 to
> exist].
>
> As it happens, creating extra zoom levels for GProjections takes
> extremely negligible amounts of resources, so you  might as well use
> "new GMercatorProjection(32)" like the Google maptypes do.
>
> --
> Mike Williamshttp://econym.org.uk/gmap

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