ygorth

OverviewMap and css class .ovwHighlight. Problem with the property baseLayer.

Discussion created by ygorth on Jul 9, 2013
Hello,

Anyone know why the ArcGIS JS doing this?



            var baseLayerOverviewMap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer",
            {
                id: "BaseLayerOverviewMap"
            });

                var overviewMapDijit = new esri.dijit.OverviewMap({
                    map: esriMap,
                    baseLayer: baseLayerOverviewMap,
                    attachTo: "bottom-right",
                    opacity: 0.5,
                    maximizeButton: false,
                    color: "#E01B5D",
                    expandFactor: 2,
                    visible: true
                });

Without property baseLayer.

<div class="ovwHighlight" style="border: 1px solid rgb(224, 27, 93); background-color: rgb(224, 27, 93); display: block;
opacity: 0.5; left: 90px; top: 44px; width: 180px; height: 86px; position: absolute;"
title="Drag To Change The Map Extent" dojoattachpoint="_focusDiv"></div>

With the property baseLayer.
<div class="ovwHighlight" style="border: 1px solid rgb(224, 27, 93); background-color: rgb(224, 27, 93);
left: -3.15309e+7px; top: -2.51719e+7px; width: 2.00375e+7px; height: 9629140px; display: none;
opacity: 0.5;" title="Drag To Change The Map Extent" dojoattachpoint="_focusDiv"></div>


Thanks!

Outcomes