Nasif, Hmm. I would not hard code the x and y of a widget in the MXML code. the widget tag in the main config.xml can have a x and y or better yet a top or bottom and left or right value defined.
Nasif, That's just the way it is. The map will not automatically attempt to reset to the initial extent when the map is resized. If you really think about it you would not want it to do that. Here would be the scenario if it did that: A user would open the app and pan around the map to a different location and then decides that they wanted to resize the browser which resizes the map and thus the map would automatically return to the initial extent (BAD).You have a customized map switcher in your map so there is no telling what is going wrong there.The time widget... Hmm. do you have the x and y set in the config.xml?
extent of the map changes
Nasif, So I don't see what the issue is then the map is filling 100% of the browser?....
Nasif, Because you are posting to the Flex API forum and not the Flex Viewer forum (as you should be), you have to be specific that you are speaking of the Flex Viewer Application. The Flex Viewer app will scale the map to what ever screen resolution that you are on automatically, unless you have manipulated the code and broke that capability. Do you have a screenshot of the map not scaling to full monitor width and height? Did you change the source code some where that could have broken this?All Flex Viewer questions should be posted here:http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-FlexAndrew, Pardon me jumping in.
Sorry, the word document is unreadable.Basically you have to make sure every parent container the map is in has a width and height of 100%So.. If the map is contained in border containers, HGroups, VGroups etc.. make sure they ALL have a width and height of 100%
Can you post your MXML file so I can see how your application is configured.
Hi ANdrew...thank you for the quick response..which file these (BorderContainer, HGroup, VGroup) will be under?Thanks
make sure your Map and its outer containers (i.e: BorderContainer, HGroup, VGroup) are also set to 100% width and height
Hi Andrew.I have the width and the height of the application set to 100% and it still not working... any other idea?thank youNasif
Set the width and height of the application to 100%.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.