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

Arnd Wippermann arnd.wippermann at web.de
Fri Jan 9 12:54:16 EST 2009


Thanks

Now it works as expected

Arnd Wippermann 

-----Ursprüngliche Nachricht-----
Von: andreas.hocevar at gmail.com [mailto:andreas.hocevar at gmail.com] Im Auftrag
von Andreas Hocevar
Gesendet: Freitag, 9. Januar 2009 16:23
An: Arnd Wippermann
Cc: users at openlayers.org
Betreff: Re: [OpenLayers-Users] Layer.Vector with multiple data sources

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