[mapguide-users] Google Layers Not Showing - Fix to Open Layers
Hi All, If you are using MapGuide 2.6 or newer (even AIMS) you will have noticed that Google is behaving badly lately. Since Open Layers 2.13.1 is the last OpenLayers version and there are no longer fixes (yes MapGuide/AIMS must move away from OL 2). Here is how to fix (see https://github.com/openlayers/ol2/issues/1450) What I did to quickly fix: 1. Change the Template index.html page to point to FusionSF.js rather than FusionSF-compressed.js (i.e. C:\Program Files\OSGeo\MapGuide\Web\www\fusion\templates\mapguide\slate\index.html) 2. Open FusionSF.js - (C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\fusionSF.js) 3. Find the following line: * if (container.parentNode !== map.div) {* around line 87241 4. Replace this code: with this code: This works in MapGuide 2.6 and MapGuide 3 - and AIMS 2015 and 2016 regards gordon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-Layers-Not-Showing-Fix-to-Open-Layers-tp5268375.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide Download Layer data
On Tue, May 24, 2016 at 4:47 PM, GordonLwrote: > Since mapguide-rest can spit out GeoJSON, you could use a third party web > service to convert from GeoJSON to SHP such as https://ogre.adc4gis.com/ > > or script your own with something like ogr2ogr > Starting from geojson, you can convert to shape in the browser. https://github.com/mapbox/shp-write Kind Regards, Johan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Widget adding WMS
Thanks a lot Gordon! I'll give it a try the next days/weeks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Widget-adding-WMS-tp5267000p5268304.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users