2

I added dynamic map service to the mobile template from ESRI. However, I see a couple of issues:

  1. map does not cover full screen (when vertical).
  2. background shows black on mobile browser (chrome).

Here is a site.

nmtoken
13.6k5 gold badges39 silver badges91 bronze badges
asked Sep 26, 2014 at 14:42

1 Answer 1

1

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:

http://gis.wiu.edu/java/mobile/?theme=iPhone

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!

answered Sep 26, 2014 at 18:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.