[mapguide-users] Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng jumpinjackie at gmail.com
Tue Oct 25 16:34:45 PDT 2016


Insert this into the script of the entry HTML file before the call to
viewer.mount()

MapGuide.Externals.proj4.defs($EPSG_CODE, $PROJ4JS_DEF);

For example (for EPSG:28355):

MapGuide.Externals.proj4.defs("EPSG:28355","+proj=utm +zone=55 +south
+ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs");

The $PROJ4JS_DEF you can manually get from http://epsg.io/$EPSG_CODE

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Introducing-mapguide-react-layout-A-modern-viewer-for-MapGuide-tp5288019p5292691.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list