[OpenLayers-Users] different layers in single map file
S.Reena
reena at indiamail.com
Fri Nov 7 04:08:16 EST 2008
I have made layer like this :
>
> wms[5] = new OpenLayers.Layer.WMS.Untiled(
> "Customization","http://gis.rtbi-iitm.in/cgi-bin/mapserv?map=/var/www/html/customisation/mapfile/customNR.map",{'layers':
> "NR_point",'transparent':"true"},{'layers':
> "NR_polygon",'transparent':"true"},{'isBaseLayer':false} );
>
> In the customNR.map I have made NR_point and NR_polygon layers .....the
> thing is whichever I keep first in the above layer creation is only
> displayed..like in the above case NR_point is displayed ....
Thanks,
Reena.
Christopher Schmidt-4 wrote:
>
> On Thu, Nov 06, 2008 at 03:49:23AM -0800, S.Reena wrote:
>>
>> Hi all,
>>
>> Is it possible that if I check a layer in layerswicher , it can call a
>> single mapfile having all 3 types (point, polygon and line layers)....I
>> know
>> how to include multiple layers of same type at time of layer creation but
>> it
>> doesn't work with different layer types ...
>
> I don't understand wht you mean by "it doesn't work with different layer
> types." WMS allows you to specify a comma-seperated-list of layers, and
> it will put those layers into the resulting imagae. Is that not working
> for you?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
View this message in context: http://www.nabble.com/different-layers-in-single-map-file-tp20359641p20376980.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list