[mapguide-users] Show MapGuide Map using OpenLayers

Jackie Ng jumpinjackie at gmail.com
Thu Nov 28 02:10:19 PST 2019


I'll slightly roll back my previous statement.

If you are using vanilla OpenLayers and add mapguide-rest to your 2.5.2
installation (mapguide-rest should work for 2.5.2) it nicely polyfills these
missing APIs, but you'll have to modify your OL examples to talk to the
mapguide-rest endpoint instead of the mapagent.

You can refer to examples like this
(https://github.com/jumpinjackie/mapguide-rest/blob/master/sampleapps/mixed/ol3.html)
or visit the root sampleapps/index.php for more examples using vanilla
OpenLayers in a mapguide-rest context.

Also, mapguide-react-layout out of the box only talks to the mapagent. It
can't talk to mapguide-rest.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html


More information about the mapguide-users mailing list