[Mapguide-trac] [mapguide-trac] #2087: Fusion editor does not set script source for OpenStreetMap
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Jul 30 23:50:19 PDT 2012
#2087: Fusion editor does not set script source for OpenStreetMap
-----------------------+----------------------------------------------------
Reporter: jng | Owner: jng
Type: defect | Status: new
Priority: low | Milestone: Maestro-4.0-maintenance
Component: Maestro | Version:
Severity: trivial | Keywords:
External_id: |
-----------------------+----------------------------------------------------
In fusion.js, if the ApplicationDefinition contains OSM layers, it expects
to inject a script link to
{{{http://www.openstreetmap.org/openlayers/OpenStreetMap.js}}} from the
{{{OpenStreetMap}}} element in the ApplicationDefinition document.
Maestro's Fusion editor is not setting this element, meaning the
OpenLayers.Layer.OSM subtypes are not defined, as the required scripts are
not loaded.
Secondly, the Osmarender layer type is no longer available and this
checkbox option should be removed.
This problem isn't apparent on MGOS 2.4, as its version of Fusion will
fallback to OpenLayers.Layer.OSM
However the fusion in MGOS 2.2 does have this problem as it will cause a
javascript error trying to instantiate a
OpenLayers.Layer.OSM.[Mapnik|Osmarender|CycleMap] object
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2087>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list