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

Vue2Leaflet render #238

Closed
cartovarc opened this issue Feb 23, 2020 · 1 comment
Closed

Vue2Leaflet render #238

cartovarc opened this issue Feb 23, 2020 · 1 comment

Comments

@cartovarc
Copy link

Hi, I am trying put vue2leaflet component in home view, this is what I get:
Screenshot from 2020-02-23 11-36-12

This is my componet

`

<script> import { LMap, LTileLayer, LMarker } from 'vue2-leaflet'

export default {
components: {
LMap,
LTileLayer,
LMarker
},
data() {
return {
url: 'https://{s}.tile.osm.org/{z}/{x}/{y}.png',
zoom: 6,
center: [46.5322, 2.9482],
bounds: null
}
}
}
</script>
`

I dont know what is happening, can anybody help me?

Thanks a lot!

@cartovarc
Copy link
Author

This is a Vue2Leaflet problem
vue-leaflet/Vue2Leaflet#157

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

1 participant