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

Run inside of onsen UI page? #34

Closed
wyattp11 opened this issue Jun 4, 2018 · 2 comments
Closed

Run inside of onsen UI page? #34

wyattp11 opened this issue Jun 4, 2018 · 2 comments
Assignees

Comments

@wyattp11
Copy link

wyattp11 commented Jun 4, 2018

Hey @soal any suggestions for how to set the map inside a tabbed onsen page? I'm getting the map to load but onsen is blocking it... how can I point it to the page div as the wrapper?

@soal
Copy link
Owner

soal commented Jun 4, 2018

Hey @wyattp11!
Can you plz provide some more information/code examples?
I've forked Onsein UI kitchensink and added vue-mapbox on Carousel page. With proper styles map successfully renders in Chromium and Firefox on desktop and Androi device.
Take a look, maybe it would help.
Note mapbox styles added in index.html and styles in src/pages/Carousel.vue.

@soal soal self-assigned this Jun 4, 2018
@wyattp11
Copy link
Author

wyattp11 commented Jun 5, 2018

Thank you, that helped me figure out it was the content policy blocking access to api.mapbox.com. Now I have to figure out the CSP :-/

I'm using the vue-cordova-webpack template

@wyattp11 wyattp11 closed this as completed Jun 5, 2018
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

2 participants