[OpenLayers-Users] Accessing individual map layer
allan oware
lumtegis at gmail.com
Sat Nov 12 09:47:03 EST 2011
Hi all,
I defined a wfs layer and added it on an existing OpenLayers.Map.
map.addLayer(wfslayer);
But when I try to access the layer and call a function, I get a 'cannot
read property of undefined' error.
map.wfslayer.display();
Is this the proper way to access layer and call its properties/functions ?
Regards,
Allan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111112/2c459ac5/attachment.html
More information about the Users
mailing list