abrown31

Extent Indicator on Overviewmap Not Working Correctly

Discussion created by abrown31 on Nov 12, 2012
Latest reply on Nov 21, 2012 by abrown31
I'm using a highly modified version of this layout, in order to utilize the overviewmap. Anyhow, within my overview, the "extent indicator" rectangle never actually displays my current extent, it always sits in the top left of the window box and doesn't move. It appears that it's not layered correctly, but I might be wrong.

I have a strong feeling that it is caused by my spatial reference:
"spatialReference": { 
                    "wkt": 'PROJCS["NAD_1927_Illinois_West",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.16666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.3048006096012192]]',
                    "wkid": 26772
                }

Unfortunately, I cannot verify this because I'm still learning Javascript.

This is how I declared the widget, within my map's onLoad function:
var overviewMap = new esri.dijit.OverviewMap({ map: map }, dojo.byId("overviewDiv"));
                overviewMap.startup();

Here are the DIVs for the front-end:
<div id="ovWin" class="shadow" style="position:absolute; right:35px; top:5px;width:100px;height:100px;z-index:101;">
            <div id="overviewDiv" style="width:100%;height:100%;z-index:10002;">
            </div>
          </div>


Has anybody experienced this issue?

I'm attaching a screenshot of the DIV highlighted in Chrome's Dev Toolset. When the screenshot was taken, the overviewmap should be located at the bottom tip of that area. Instead, it remains at the top left as everything else successfully moves. Due to the shift, the overviewmap also moves outside of the border container, as you can see when highlighted.

Thanks,
Andrew
Could it be a bug?

Attachments

Outcomes