[mapguide-users] How to use ActivityIndicator fusion widget
GeorgesK
georges.kacou at gmail.com
Tue May 17 03:22:17 PDT 2016
I am reposting my message due to viewing problems with the "raw" tags in
nabble :
----
Thanks Jackie for the response.
I use the Aqua fusion template. Here is what did :
* I modified the index.html file by addind the div (ID = "Loading") this way
:
...
<div id="AppContainer" style="visibility: hidden;">
<div id="Map">
<div id="Navigator"></div>
<div id="Loading"
style="display:flex;justify-content:center;align-items:center;width:100%;height:100%;">
<div>Loading ...</div>
</div>
</div>
<div id="FileMenu"></div>
<div id="Toolbar">
</div>
<div id="ToolbarVertical">
</div>
<div id="StatusbarContainer">
<div id="Statusbar"></div>
<div id="StatusOverviewMap"></div>
<div id="pbmg"> <images/pbmg.gif> </div>
</div>
<div id="Maptip"></div>
</div>
...
* I inserted the ActivityIndicator widget in the vertical toolbar with this
XML
<?xml version="1.0" encoding="utf-8"?>
<WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>Indicator</Name>
<Type>ActivityIndicator</Type>
<Location />
<Extension>
<ElementId>Loading</ElementId>
</Extension>
</WidgetType>
Unfortunately, it still doesn't work and fusion throws an error. What is
weird is that the error message varies depending on the browser :
- With Firefox:
Error Details:
TypeError: this.domObj is null
Stack Trace:
- ? at http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line:
2617)
- With Chrome and Internet Explorer:
Error Details:
Uncaught TypeError: Cannot read property 'appendChild' of null
Stack Trace:
- ? at http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line:
2617)
What am I doing wrong ?
Thanks again.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-use-ActivityIndicator-fusion-widget-tp5265788p5266764.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list