You need to add ZOOM as a dimension at the tileset level. It will be validated in incoming requests and propagated to the WMS server.
-- thomas On 28 November 2014 at 13:31, Vladimir <f...@inbox.ru> wrote: > Hi All! > > I have getMap request to MapCache from OL3 with additional dynamic ZOOM > parameter. > > > http://myhost/mapcache/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=test&WIDTH=384&HEIGHT=384&CRS=EPSG%3A3857&STYLES=&MAP_RESOLUTION=135&BBOX=8520588.417005166%2C5338362.055436708%2C8521811.40945773%2C5339585.047889271&ZOOM=15 > > Further MapCache send request to my WMS service accordingly the > configuration: > > <source name="vmap0" type="wms"> > <getmap> > <params> > <FORMAT>image/png</FORMAT> > <LAYERS>mylayer</LAYERS> > </params> > </getmap> > <http> > <url>http://myhost/wms</url> > </http> > </source> > > But the additional ZOOM parameter is lost at this stage. > Adding <ZOOM></ZOOM> in <params> adds empty key without value. > How can I substitute this parameter to final request ? > > Thanks & best regards > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users