Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full size map #21

Open
LearningTools opened this issue May 13, 2015 · 4 comments
Open

full size map #21

LearningTools opened this issue May 13, 2015 · 4 comments

Comments

@LearningTools
Copy link

hello, how it adapts to the resolutions of a div map

@bastronaut
Copy link

Please see here:

https://github.com/licyeus/angular-mapbox/wiki/Setting-mapbox-size

And use relative size for your mapbox element (100%)

@LearningTools
Copy link
Author

thank you, one more question, I want to add this directive to the ionic framework, as it could

@elarion
Copy link

elarion commented Jun 19, 2015

I had a dirty way working on every modern browsers, I set an id to my mapbox tag in html then I had the id in my css with the width attribute like this: {width: 100% !important;} in order to override the original width set at 500px.

@KoltonG
Copy link

KoltonG commented Sep 22, 2015

@elarion Worked for me too!

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

No branches or pull requests

4 participants