Changes between Version 17 and Version 18 of MapCacheOpenLayers


Ignore:
Timestamp:
2016-05-19T15:55:23-03:00 (5 years ago)
Author:
Jeff McKenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapCacheOpenLayers

    v17 v18  
    3434  * on your MS4W homepage, click on the "!MapServer WMS Example" link, in the !OpenLayers section
    3535  * this example uses a local WMS service, it should display the world countries as below: [[Image(OL-WMS.PNG, 600px, nolink)]]
    36 == Step 3: Configure mapcache.xml to use WMS as a Source ==
    3736
     37== Step 3: Configure mapcache.xml to use this WMS as a Source ==
     38
     39* add the following to your mapcache.xml file (if necessary change the <url> and <map> paths):
     40{{{
     41#!xml
     42<source name="ms4wserver" type="wms">
     43  <http>
     44    <url>http://127.0.0.1/cgi-bin/mapserv.exe</url>
     45  </http>
     46  <getmap>
     47    <params>
     48      <map>C:/ms4w/apps/openlayers-3.15.1/examples/map/wms-server.map</map>
     49      <layers>countries</layers>
     50    </params>
     51  </getmap>
     52</source>
     53}}}
     54