Hi,
perhaps you could do something like this:
map.events.register("zoomend", map, addZoomLevel);
function addZoomLevel{
yourWMSlayer.mergeNewParams(zoomlevel:map.getZoom());
}
This should add the parameter ZOOMLEVEL=Number to the WMS request.
Mit freundlichen GrĂ¼ssen
Arnd Wippermann
http://gis.ibbeck.de/ginfo/
Darko Radiceski wrote:
>
> Dear all,
>
> I have a raster that contains millions of point published through Arc IMS
> in
> a WMS service. I am trying to design a way to limit the number of points
> that get displayed based on the map zoom level. I have numbered the levels
> on the database side.
>
> Is it possible to somehow in the WMS call for Open Layers to include the
> zoom level that would be used at the Arc IMS side to select the wanted
> features?
>
> Cheers
> Dan
> --
> Radiceski Dan
> University of Wollongong
> Australia
> SIFE - UOW Chapter - Alumni
> CASUAL ACADEMIC STAFF TEACHING - UOW SITACS
> (School of Information Technology and Computer Science,University of
> Wollongong)
> Univeristy of Wollongong - Alumni
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
>
>
--
View this message in context:
http://www.nabble.com/displaying-data-at-multiple-levels-through-open-layers-wms-tp18064718p18101122.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev