The API code performs some of the pixel calculations necessary for 
polygon rendering at zoom level 17, then saves that information. This 
makes the code slightly more efficient than recalculating from scratch 
whenever the zoom level changes. This means that polygons only work in 
an environment that has a GProjection capable of performing pixel 
calculations at zoom level 17.

Try setting max_zoom to 4, but using new EuclideanProjection(18). That 
will give you a maptype that only has zoom levels up to 4, but can 
display polylines.

See: http://econym.org.uk/gmap/example_custommapflat.htm

-- 
Mike Williams
http://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 google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=.


Reply via email to