Comments (2)
You're passing an empty object to the mapStyle
property - this should be a String
or an object that conforms to the Mapbox Style Specification. The errors you are getting aren't errors for the map version, they're validation errors of the style object you've passed, the object should be in the format:
{
"version": 8,
"name": "Mapbox Streets",
"sprite": "mapbox://sprites/mapbox/streets-v8",
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
"sources": {...},
"layers": [...]
}
I suspect that you probably want to use the string format
from v-mapbox.
thanks,
from v-mapbox.
Related Issues (20)
- Wrong docs link HOT 5
- Clustering markers on the map via vuejs component HOT 1
- @load not firing HOT 6
- [Compatibility] vue 2.7.8 HOT 1
- Error: Could not resolve Map in Nuxt 3
- How to add and load images to map
- Injection key not exported HOT 2
- The setup binding property "templateRefs" is already declared (vuejs2 legacy version) HOT 2
- Named export 'GeolocateControl' not found - The requested module 'maplibre-gl' is a CommonJS module HOT 6
- Using v-mapbox with private (Offline) Mapbox Atlas instance
- map is not loading on latest version of 'mapbox-gl' and 'v-mapbox' HOT 4
- Dependency Dashboard
- URL scheme "mapbox" is not supported
- docs: update documentation on usage for Vue 3
- Map Marker - aria-label or additional attributes?
- [3.1.0] Click on v-map fires MapMouseEvent and MouseEvent HOT 6
- Working with Vuex Map HOT 3
- .easeTo dynamic durations
- Issue with using Marker in Vue 3 HOT 8
- question: How to make v-layer-deck-geojson reactive HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-mapbox.