Hey Chris,Thanks for the reply. I haven't seen any issues like this in Dojo, and it appears to affect only the map control. I will add the autosize=false as mentioned in post 3 to the ESRI sample and see what happens with that. Has something fundamentally changed since 3.2? Best as I can tell, it appears to plague 3.3+.Thanks again,Doug
Hi Doug, thanks for pointing this out. We're looking into the issue and will get back to you. Have you experienced this issue using the samples from Dojo Mobile?
Does anyone else have problems with the Mobile Template sample at the following URL?http://developers.arcgis.com/en/javascript/samples/mobile_template/index.htmlI noticed back in 3.3 that if you click About, rotate the screen, go back to the map and rotate the screen a couple of times, the map will resize itself into nothing. I brought this up with ESRI Support, even filed a bug about it and was told it was "a priority item to solved right away". Here we are at 3.6 and it doesn't appear to me that anything has changed. Is it just my iPad and half a dozen Android sample devices doing this?Thanks,Doug
map = new esri.Map("mapPane", { autoResize : false, .....
dojo.connect(map, "onLoad", function () { dojo.connect(window, 'onresize', function() { // prevent map from resizing in non map view. This would error otherwise if (currentView == "mapView") { map.resize(); map.reposition(); } }); });
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.