Select to view content in your preferred language

Refresh a map

1248
1
03-30-2011 05:53 AM
patriziamucci
Emerging Contributor
Hi
in my ASP.NET application I've got a map.
When I resize the browser I'd like to resize the map using javascript code.
I resize the http element (setting the width and the height style property) and I resize the width and the height property of the map by using checkMapsize() methods...but the resolution of the map don't change...I try to use the follows methods:
resize();
reposition();
refresh();
but they don't work...
What can I do?
Thanksssssss....
0 Kudos
1 Reply
derekswingley1
Deactivated User
This is covered in the FAQ. See it in action:  Full Map Layout Sample

Note that the map div is a dijit.layout.ContentPane.
0 Kudos