[OpenLayers-Users] Markers disappear at high zoom levels on google maps

Andreas Hocevar ahocevar at opengeo.org
Mon Jul 9 05:19:50 PDT 2012


This should be unrelated to the base layer, but it is related to the
projection used. If coordinate ranges get very high, the SVG renderer
cannot handle the coordinates.

The workaround is to configure your vector layers to prioritize the
Canvas and VML renderers, so SVG only get's used on devices that don't
support anything else:

    renderers: ['Canvas', 'VML', 'SVG']

Andreas.

On Sun, Jul 8, 2012 at 10:48 PM, Jamie Johnson <jej2003 at gmail.com> wrote:
> I've seen several posts about markers disappearing at high zoom levels
> when google maps is used as the base layer, is there a solution on how
> to fix this?
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list