[OpenLayers-Users] Layer.Vector with multiple data sources

Andreas Hocevar ahocevar at opengeo.org
Fri Jan 9 10:22:42 EST 2009


Arnd,

On Fri, Jan 9, 2009 at 2:37 PM, Arnd Wippermann <arnd.wippermann at web.de> wrote:
> I have no luck so far.
>
> The following code is from the example styles-context.html, added the
> getVisibility. If you paste the code into firebug console for the openlayers
> homepage http://openlayers.org/, it will add a vector layer with points. At
> zoomLevel 0 the red points are set to display:"none", etc.
>
> But you can see, that the display property have no effect. Do I miss
> something?

On the contrary! You have found a bug. See
http://trac.openlayers.org/ticket/1898 for a fix.

Regards,
Andreas.

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



More information about the Users mailing list