Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Map is always 400px high #48

Closed
Kollibri opened this issue Apr 15, 2015 · 1 comment
Closed

Map is always 400px high #48

Kollibri opened this issue Apr 15, 2015 · 1 comment

Comments

@Kollibri
Copy link
Contributor

The map is always 400px high. I've tried setting the following in my CSS but it makes no difference:

html, body, #map {
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
      }

Any ideas? Is there a property on the map for height that I can pass to it? I didn't see anything in the ESRI JS API for that, but perhaps I missed it.

I looked at issue #42 but I'm not sure that relates to my problem. When I comment out my bootstrap css the map still displays at 400px high. I'd like to get it to be a full screen map.

@Kollibri
Copy link
Contributor Author

Sorry to litter up the issues list with my little problems.

Figured out a solution to this. I set the following on all containing elements for the map and now I've got a full screen map.

style="height: 100%;"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant