[mapguide-users] How to access MapGuide tileCache with OpenLayers

carls carlshe at 163.com
Thu Jan 17 05:38:59 PST 2013


I generated tilecache for one base layer group of a map.

But how to do next step with OpenLayers to access these tiles.

I found an example from website of OpenLayers.
http://www.openlayers.org/dev/examples/mapguide.html

relative code is listed below:

  options.useHttpTile = true;
  var cacheUrl = "http://localhost:8008/sheboygan";
  var httpLayer = new OpenLayers.Layer.MapGuide( "MapGuide HTTP cache tiled
layer", cacheUrl, params, options );
  map.addLayer(httpLayer);

I can't understand the rule for the cacheUrl.

Could somebody give detailed steps for accessing MapGuide tilecache by
OpenLayers.

Thanks in advance.




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-access-MapGuide-tileCache-with-OpenLayers-tp5028114.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list