-
Notifications
You must be signed in to change notification settings - Fork 376
Open
Labels
Description
Description
The FAQ page provides some guidance on accessing a property called 'mapObject'. Despite extensive research and numerous attempts, this 'mapObject' remains undefined. However, according to this query, it appears that 'mapObject' has been renamed to 'leafletObject'. Utilizing 'leafletObject' proved successful. This renaming isn't documented anywhere, prompting me to raise this issue for an update in the FAQ and documentation.
Expected Results
Utilizing this.$refs.map.leafletObject offers functionalities like the setView method.
Actual Results
Using this.$refs.map.mapObject consistently results in undefined.
Browsers Affected
not browser specific.
- Chrome
- Firefox
- Edge
- Safari 9
- Safari 8
- IE 11
Versions
- Leaflet: v1.9.3
- Vue: v3.2.26
- Vue2Leaflet: v2.7.1
jeanmatthieud