Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fusion Legend Item Off While Displayed in Map???

3 REPLIES 3
Reply
Message 1 of 4
emluv
572 Views, 3 Replies

Fusion Legend Item Off While Displayed in Map???

Hello,

 

I have Mapguide 2011 Fusion web map that when the map initially loads it shows the layer in the map, but in the legend it is unchecked. It has to be checked and unchecked a few times to actually reflect chnages in the map.

 

In Studio I have the layer set to initially draw when the map loads as well as the layer to display in the legend. It is like the legend is not recognizing the layer is there until the user check and unchecks the legend.

 

Any insight would be greatly appreciated!!

 

Thanks!Smiley Very Happy

emluv
3 REPLIES 3
Message 2 of 4
gluckett
in reply to: emluv

In the index.htm page of each of the Fusion Templates, you can add a refresh to the initPanelHandle function

 

var theMap = Fusion.getWidgetById('Map');

theMap.reloadMap();

 

Message 3 of 4
emluv
in reply to: emluv

Thanks Gordon!

 

Is the index.htm file in the \WebServerExtensions\www\fusion\templates\mapguide\aqua folder? I see an index.html file in this folder, is this the one to edit?

 

I appreciate it:)

emluv
Message 4 of 4
gluckett
in reply to: emluv

Yes, that's the one.  Around line 179 in 

 var initPanelHandler = function() {

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report