Changes between Initial Version and Version 1 of MapCacheOpenLayers


Ignore:
Timestamp:
2016-05-19T14:46:01-03:00 (9 years ago)
Author:
Jeff McKenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapCacheOpenLayers

    v1 v1  
     1= Configuring MS4W and !MapCache for use in !OpenLayers 3 =
     2
     3This was spawned by an MS4W user asking how to setup OpenLayers3 for an MS4W !MapCache's WMS service ([http://osgeo-org.1560.x6.nabble.com/ms4w-3-1-4-mapcache-td5267121.html thread]):
     4{{{
     5i active mapcache in ms4w 3.1.4 with it's introduction
     6and run successfully image in tmp folder , in example is openlayers2
     7
     8but i'd like use mapcache ms4w via openlayers 3 and my code is below
     9
     10                        new ol.layer.Tile({
     11                        title: 'Chabahar',   
     12                        source: new ol.source.TileWMS({
     13                        url: 'http://localhost:100/cgi-bin/mapserv.exe?map=D:/WEB_GIS/code_test/wms/HTML5Application/public_html/chabahar.map&',
     14                        params: {
     15                                          'LAYERS': 'chabahar',
     16                                          'FORMAT': 'image/png',
     17                                          'TILED': true
     18                                     },
     19                        serverType: 'mapserver'
     20                                                       })
     21                                        })  ,
     22
     23
     24but no image save in tmp directory
     25}}}
     26
     27== Step 1: