[mapguide-users] Re: Fusion: 'map' is null ...
CroNicoRn
ah_jid at yahoo.com
Wed Jun 16 23:39:25 EDT 2010
http://osgeo-org.1803224.n2.nabble.com/file/n5189239/002.jpg
//create the 'Map' layer widgets defined in the MapGroup
this.aMaps = [];
this.mapGroup = mapGroup;
for (var i=0; i<mapGroup.maps.length; ++i) {
var mapTag = mapGroup.maps[i];
if (Fusion.Maps[mapTag.type]) {
this.aMaps[i] = eval("new
Fusion.Maps."+mapTag.type+"(this,mapTag)");
this.layerRoot.addGroup(this.aMaps[i].layerRoot);
} else {
//TODO: we can add more OpenLayers layers ...
}
}
$(name).widget = this;
this.registerEventID(Fusion.Event.MAP_EXTENTS_CHANGED);
this.registerEventID(Fusion.Event.MAP_BUSY_CHANGED);
this.registerEventID(Fusion.Event.MAP_GENERIC_EVENT);
this.registerEventID(Fusion.Event.MAP_RESIZED);
this.registerEventID(Fusion.Event.MAP_ACTIVE_LAYER_CHANGED);
this.registerEventID(Fusion.Event.MAP_LOADED);
this.registerEventID(Fusion.Event.MAP_LOADING);
this.registerEventID(Fusion.Event.MAP_RELOADED);
this.registerEventID(Fusion.Event.MAP_SELECTION_ON);
this.registerEventID(Fusion.Event.MAP_SELECTION_OFF);
Fusion Version on Mapguide Enterprise 2009, Maestro 2.0
-----
http://www.myguidepages.com http://n2.nabble.com/file/u115131/ajid.jpg
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Fusion-map-is-null-tp5189015p5189239.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list