I added dynamic map service to the mobile template from ESRI. However, I see a couple of issues:
- map does not cover full screen (when vertical).
- background shows black on mobile browser (chrome).
Here is a site.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Black background issue: seems like your dojo deviceTheme CSS is broken when it detects Android. If you do the following, you'll see the black background goes away:
You can see how this works at Dojo site.
Not filling up the screen issue: Your map div is called
mapDiv, but in your code, it's trying to resize a div called
map. Just reconcile the two and you should be good, i think!