English 中文(简体)
how to add map layer overlays in openlayers?
原标题:

i have 3 shapefile ready in a map file, and rendering it on mapserver. what i need is to and these layer overlay one over the other.how can i do this

最佳回答

Would this help?

for your question in the comment,

General openlayers examples You ll also find Geoext useful.

In the examples, you can see the different ways to add a layer to open layers

问题回答

When you define a map in openlayers you should define one or more BaseLayer(but just one of them is displayed at a time). Upon these layer you could load as many overlay as you prefer.

Have a look here for the definition of overlay in OpenLayers.

This is an example of overlay with OpenLayers.

Anyway you could find a lot of samples just googling..





相关问题
anything better than bounding boxes?

I have a scenario, where I have x million longitude latitude points. When a new long/lat point is added I want to know efficiently which other points are within a user configured distance parameter, ...

how to create image from gis data in C#

I m using C# to pull spatial data from a sql server 2008 database. I m then trying to perform operations on that data, but to start... I want to be able to visualize it. That is, I would like to ...

java api for simple gis computations

I am trying to develop some simple location logic in the server-side portion of a java servlet-based webapp. There are really just two operations that I m interested in: Given a start point (lat/...

does anyone know a good mapinfo forum?

I m new using mapinfo and I am going to work a lot with it. I haven t been able to find a good forum, making it impossible to get community driven assistance. I wish any of you could tell me if there ...

Determining visible area from globe frustum

I m working with a mapping application (worldwind) and trying to determine the minimum and maximum latitudes and longitudes that are currently displayed. I have access to the frustum, but I m not sure ...

热门标签