Select to view content in your preferred language

initialExtent and Map-Viewer problem

515
0
05-28-2014 06:51 AM
NatashaManzuiga
Regular Contributor
Hi,
After I made a search, running the command queryFeatures, using the same expression to filter data...I apply layerDefinitions for 3 layers.
then I set
map.initialExtent= graphicsExtent.expand(1.2);
but sometimes it looks like the viewer doesnt care (about expanding the map) and shows me like I set the map.initialExtent= graphicsExtent without expand(1.2).
So I tried to see what happens in internet explorer network traffic...and if I get the link passed by map.initialExtent and I put it in another window the browser shows me the right picture graphicsExtent.expand(1.2)...
The bad thing is that zooming + and - the viewer lose the link with the infoPopup.

Any suggestions?

Thanks

Naty
Tags (2)
0 Kudos
0 Replies