Thanks. After changing the configuration, it displayes
the map.
There are two problems.
1: The loading message is not displayed anymore.
I changed from mapContainerId to targetContextId
The config is now:
<Loading2 id="loading2">
<targetContext>mainMap</targetContext>
</Loading2>
This seems to be a general isue.
The same behaveur (no loading message) exists in the Simple Map Viewer
and Interactive Map Viewer demos.
2:When the Measurement widget is enabled, I have an error with
message:
widgetNode.selectSingleNode("mb:defaultModelUrl") has no properties
EditButtonBase(measurement, Object doc=document
url=config.xml)EditButtonBase.js (line 29)
Measurement(measurement, Object doc=document url=config.xml)Measurement.js
(line 22)
createObject(measurement)ModelBase.js (line 385)
loadObjects("mb:widgets/*")ModelBase.js (line 405)
parseConfig(Object doc=document url=config.xml)ModelBase.js (line 416)
mapbuilderInit()Mapbuilder.js (line 233)
this.defaultModelUrl=widgetNode.selectSingleNode("mb:defaultModelUrl").firstChild.nodeValue;
The config of the Measurement is:
<Measurement id="mesure">
<buttonBar>mainButtonBar</buttonBar>
<targetModel>mainMap</targetModel>
<class>Button</class>
<disabledSrc>/images/MeasureEnable.png</disabledSrc>
<disabledSrc>/images/ MeasureDisable.png</disabledSrc>
</Measurement>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users