<div dir="ltr">there are a number or related wiki pages on trac<br><br>for example <br><a href="http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/ServingTilesViaHttp">http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/ServingTilesViaHttp</a><br>
<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 18, 2013 at 12:38 AM, carls <span dir="ltr"><<a href="mailto:carlshe@163.com" target="_blank">carlshe@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I generated tilecache for one base layer group of a map.<br>
<br>
But how to do next step with OpenLayers to access these tiles.<br>
<br>
I found an example from website of OpenLayers.<br>
<a href="http://www.openlayers.org/dev/examples/mapguide.html" target="_blank">http://www.openlayers.org/dev/examples/mapguide.html</a><br>
<br>
relative code is listed below:<br>
<br>
options.useHttpTile = true;<br>
var cacheUrl = "<a href="http://localhost:8008/sheboygan" target="_blank">http://localhost:8008/sheboygan</a>";<br>
var httpLayer = new OpenLayers.Layer.MapGuide( "MapGuide HTTP cache tiled<br>
layer", cacheUrl, params, options );<br>
map.addLayer(httpLayer);<br>
<br>
I can't understand the rule for the cacheUrl.<br>
<br>
Could somebody give detailed steps for accessing MapGuide tilecache by<br>
OpenLayers.<br>
<br>
Thanks in advance.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/How-to-access-MapGuide-tileCache-with-OpenLayers-tp5028114.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/How-to-access-MapGuide-tileCache-with-OpenLayers-tp5028114.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer<br>Solution Architect / Director<br>Ennoble Consultancy Australia<br>+61 405 847 168<br><br>
</div>