Select to view content in your preferred language

Setting custom zoom-levels with 2.3 PopUps?

577
2
07-13-2011 11:47 AM
ChadKijewski
Emerging Contributor
Hey all,

I learning the new Flex Viewer 2.3 and had a question regarding the new non-widget Pop-Up feature.

I have two layers I'm trying to display; the first is a state-level overview, which will disappear when zoomed in to a scale of 1:3000000, upon which a more precise city-level overview appears.  I have the pop-ups for both layers showing up the way I would like it to, but the 'Zoom To' command that appears in the pop-up window for the states goes to too small a scale, panning away from a lot of the city level points.

So, I was wondering if there was any way to set a specific zoom level for this tool.  Scanning through the help files I noticed a <zoomlevel> XML command for older pop-up widget SimpleInfoWin that seems exactly what I'm looking for, but I've yet to find a comparable command for the new integrated windows.

Also, I apologize if this was answered somewhere else; if it was, my Google-Fu is weak.

Thanks!
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Chad,

   The zoom level is not configurable. It uses the features extent and than ensured that extent is in the level of the basemap cache if you are using tiled basemaps.
0 Kudos
ChadKijewski
Emerging Contributor
Aw, that's disappointing.  I guess I'll have to convert the state-level point features to polygons then.  Thanks much for the quick response, though.
0 Kudos