[OpenLayers-Dev] Doubts regrading shapefies
adube at mapgears.com
Mon Aug 13 07:02:51 PDT 2012
This kind of question is more suitable for the 'users' mailing list.
Using OpenLayers.Layer.MapServer isn't recommended. You should use
OpenLayers.Layer.WMS instead. Here's some examples :
The API documentation contains more details :
Your fixed base layer should keep its 'isBaseLayer' property (option)
to true, and you should set it to false for the others.
On 12-08-13 02:13 AM, Harikumar Muralee wrote:
> Iam a beginner in OpenLayers.All I want is to display some shapefiles on web
> as a Asp.net web application.
> Currently what I am doing is created a "test1.map" file and then in
> var shapes = new OpenLayers.Layer.MapServer("TestMap",
> test1.map&layer=layername1&layer= layername2&layer= layername3") ;
> Is It the right way?.One layer is fixed as a base layer and top of I need to
> add another layers which can be any number ranging from 2 to 30.Please guide
> me through the correct way.
> Thanks in Advance
> THIS E-MAIL IS CONFIDENTIAL and intended solely for the use of the individual to whom
> it is addressed. If you are not the addressee, do not take any action on the contents
> and any disclosure, reproduction, copying, distribution, or other dissemination or
> use of this communication is strictly prohibited. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any attachments for
> the presence of viruses. ii-2 Technologies accepts no liability for any damage caused
> by any virus transmitted by this email.
> Dev mailing list
> Dev at lists.osgeo.org
More information about the Dev