phuppe

Problem with overview map size

Discussion created by phuppe on Jan 29, 2014
Latest reply on Jan 31, 2014 by phuppe
Hi,
I am trying to add the Overview Map Widgit to a specific DIV and to give it a specific size. Part of my code looks like this:

                            overviewMapDijit = new esri.dijit.OverviewMap(
                                {map: mymap,
                                baseLayer: bLayer,
                                height: 80,
                                width: 200},
                                ovDiv);
                        }
                        overviewMapDijit.startup();


But, instead of getting an Overview Map of 200x80 pixels, I get a 400x400 pixel Overview Map.  Why does it not respect the size I give it?  Here is a picture showing the elements.
[ATTACH=CONFIG]30934[/ATTACH]

Any ideas?
Thanks,
Paul

Outcomes