Select to view content in your preferred language

Mini Map component

843
2
Jump to solution
04-18-2013 07:03 AM
ShaningYu
Honored Contributor
I plan to create a Mini-Map widget, which displays a feature queried.  Please hint me where I can get such a kind of component.  Thanks.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
Shaning,

Have a look at the overview map widget:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Overview_Map_widget/01m30000003...

If you change the line:

overviewMap.extent = map.extent.expand(3);

In the OverviewMapComponent.mxml

To:

overviewMap.extent = map.extent.expand(-3);

it will act as a magnifier instead

Regards

Anthony

View solution in original post

0 Kudos
2 Replies
AnthonyGiles
Honored Contributor
Shaning,

Have a look at the overview map widget:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Overview_Map_widget/01m30000003...

If you change the line:

overviewMap.extent = map.extent.expand(3);

In the OverviewMapComponent.mxml

To:

overviewMap.extent = map.extent.expand(-3);

it will act as a magnifier instead

Regards

Anthony
0 Kudos
ShaningYu
Honored Contributor
I also considered to use the Overview component.  Let's me try if it works for my application.  Thanks.
0 Kudos