If your tileset is using the XYZ provider, you can consume it in leaflet with
L.tileLayer

Your URL is your mapagent GETTILEIMAGE request, but use your tile set id as
the MAPDEFINITION and use {x} for TILEROW, {y} for TILECOL and {z} for
SCALEINDEX

For example:

L.tileLayer("http://yourmapguideserver/mapguide/mapagent/mapagent.fcgi?OPERATION=GETTILEIMAGE&VERSION=1.2.0&CLIENTAGENT=Leaflet&USERNAME=Anonymous&MAPDEFINITION=Library://Samples/Sheboygan/TileSets/SheboyganXYZ.TileSetDefinition&BASEMAPLAYERGROUPNAME=Base+Layer+Group&TILECOL={y}&TILEROW={x}&SCALEINDEX={z}";)

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to