Select to view content in your preferred language

Multiple layers in Overvew Map dijit

933
2
07-12-2011 10:47 PM
EdSaunders
Regular Contributor
Hi there,

Just wondering how I can load more than one base layer into an overview map dijit?  I'd like to add a tiled layer and, on top, an operational layer that is loaded in the main map?

Thanks for any assistance.

Ed
0 Kudos
2 Replies
HemingZhu
Frequent Contributor
Hi there,

Just wondering how I can load more than one base layer into an overview map dijit?  I'd like to add a tiled layer and, on top, an operational layer that is loaded in the main map?

Thanks for any assistance.

Ed


I don't think you can add more then one layer on the overview map. An alternative approach would be add another map control on the page acting as a overiew map and using Map's onExtentChange event to synchronize the extents and behaviors of the two maps.
0 Kudos
EdSaunders
Regular Contributor
Heming, thanks for your comments.  Yeah I was thinking that's what I'd have to do.  I reckon the ability to add more than one base layer to the overview dijit would be a good enhancement to the API.

Cheers.