[OpenLayers-Users] New Release

Arnd Wippermann arnd.wippermann at web.de
Fri Aug 11 14:18:55 CDT 2006


Hello Chris,

If you release a new version, is it possible to insert a Mapserver-Layer? I
think, it's possible to take the WMS-Class with some modification to get a
Mapserver-Class.

OpenLayers.Layer.Mapserver = Class.create();
...
    DEFAULT_PARAMS: {
                      mode: "map",
                      map_imagetype: "png"
                     },

...

        url = this.getFullRequestString(
                     {mapext:bounds.toBBOX().replace(/,/g,"+"),
                      imgext:bounds.toBBOX().replace(/,/g,"+"),
                      map_size:this.tileSize.w+'+'+this.tileSize.h
                      });


I have it tested and it works well. Only the SRS-parameter I couldn't
eliminate. With this Layer-Class OpenLayers can straight used as a client
for mapserver.


Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/pinguinale/
http://gis.ibbeck.de/pinguinale/mapserver.html





More information about the Users mailing list