Select to view content in your preferred language

Move EMapSwitcher

857
2
Jump to solution
04-24-2013 09:04 AM
NeilMillward
Regular Contributor
I am using the enhaced map switcher widget in an application that uses the basemap fader to view historical aerial photos.
I am not showing thumbnails, just the photo date as the label.

The problem is that it stretches across the top portion of the screen and when you hover over any of the widgets it covers up the widget label.

Is there a way to move the basemap switcher so that there is no conflict or force it to a vertical slider instead of horizontal?

Also how can I change the layer list button label from "more" to "Layers".

Thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Neil,

   Sure just make sure that the HeaderControllerWidget is below the eBaseMapSwitcherWidget.

i.e.
    <!-- UI elements -->     <widget left="10"  top="50"    config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>     <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>     <widget right="15" top="55"    config="widgets/eMapSwitcher/eMapSwitcherWidget2.xml" url="widgets/eMapSwitcher/eMapSwitcherWidget.swf"/>     <widget left="0"   top="0"     config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>


For changing the "more" button label:

<configuration>     <layerlist visible="true">         <!-- <excludelayer>The Label Of Some Layer In Main Config File</excludelayer> -->     </layerlist>     <showthumbnails>false</showthumbnails>     <labels>         <layerlistlabel>Layers</layerlistlabel>     </labels> </configuration>


Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Neil,

   Sure just make sure that the HeaderControllerWidget is below the eBaseMapSwitcherWidget.

i.e.
    <!-- UI elements -->     <widget left="10"  top="50"    config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>     <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>     <widget right="15" top="55"    config="widgets/eMapSwitcher/eMapSwitcherWidget2.xml" url="widgets/eMapSwitcher/eMapSwitcherWidget.swf"/>     <widget left="0"   top="0"     config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>


For changing the "more" button label:

<configuration>     <layerlist visible="true">         <!-- <excludelayer>The Label Of Some Layer In Main Config File</excludelayer> -->     </layerlist>     <showthumbnails>false</showthumbnails>     <labels>         <layerlistlabel>Layers</layerlistlabel>     </labels> </configuration>


Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos
NeilMillward
Regular Contributor
Thanks Robert that worked perfectly.
0 Kudos