[OpenLayers-Users] how to add a non-base layer?

MeLv1n wAuRaN melvinnesta at gmail.com
Sun Mar 8 21:15:13 EDT 2009


Hi Robert,

thanks for the info, now in this syntax

var topowms = new OpenLayers.Layer.WMS( "Topos",
                          "http://10.64.20.120/cgi-bin/gsswms.exe?",
                          {layers:
['nzislands','nznoaa','nz1mtm','nz250ktm','nz50ktm','linz_orthos'], format:
"image/png"},
                          {singleTile: true, minResolution: 1000} );

how do you tell openlayers the location of the shapefiles? is this variable
going to create just a single layer for all the 7 shapefiles? i need a
single layer for each shapefile so basically there will be 7 non-base
layers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090309/b35189ef/attachment.html


More information about the Users mailing list