Select to view content in your preferred language

Enhanced Map Switcher Widget

6784
37
10-27-2011 12:38 PM
JeffreyUtter
Deactivated User
Robert........
I really like this widget, but I have 2 issues with it.
First, the widget causes a white line across the map. It's not there if I remove the widget.
Second, the labeling dropdowns from the top toolbar widgets are covered up from the basemap/Enhanced Map Switcher Widget. Again, if I remove the Enhanced Map Switcher Widget, the dropdown labels can be seen over the top of the basemaps.
Please advise.
Jeff
Tags (2)
0 Kudos
37 Replies
RobertScheitlin__GISP
MVP Emeritus
Jay,

   That is not currently possible in the MapSwitcherWidget or the eMapSwitcherWidget.
0 Kudos
ChristinaMcCullough
Regular Contributor
Curious, but where did the More... button go?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Christina,

   It is still there I just have it turned off in my live preview site because I am using my TOCWidget there as well. If you don't have any operational layers in your map the more button is hidden.
0 Kudos
JayGeisen
Regular Contributor
Robert (or anyone, really), how might one go about changing the Enhanced Map Switcher so that you still had the basemap transparency fader list, but not the thumbnails? Basically, I'm trying to get a list of basemaps in a vertical list, with a vertical transparency slider. Any thoughts appreciated.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jay,

   Setting the eMapSwitcherWidget.xml showthumbnails to false give you the Horizontal transparency slider and basemap buttons. As far as Vertical slider and basemap list you would have to write a lot of code to do that.
0 Kudos
JayGeisen
Regular Contributor
Thanks for the quick reply, Robert. I forgot to mention that I tried that already. The problem with going that route is that the buttons end up going off the right side of the screen (due to all the historic aerials we have).
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jay,

   In the BasemapButtonBarSkin find this code and make the change indicated:

    <s:DataGroup id="dataGroup" width="100%" height="100%">
        <s:layout>
            <s:TileLayout requestedColumnCount="3"
                          columnWidth="200"
                          horizontalGap="-1"
                          verticalGap="-1" />
         <!--<s:ButtonBarHorizontalLayout gap="-1"/>-->
        </s:layout>
    </s:DataGroup>
0 Kudos
JayGeisen
Regular Contributor
Thanks, Robert. I just might go with that for now.
0 Kudos