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

Zac Spitzer zac.spitzer at gmail.com
Fri Jan 18 15:43:21 PST 2013


there are a number or related wiki pages on trac

for example
http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/ServingTilesViaHttp




On Fri, Jan 18, 2013 at 12:38 AM, carls <carlshe at 163.com> wrote:

> 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.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130119/b45f35dc/attachment.html>


More information about the mapguide-users mailing list