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

Converting mapObject to leafletObject, as it is not working #730

Open
6 tasks done
Archer-Thane opened this issue Dec 5, 2023 · 0 comments
Open
6 tasks done

Converting mapObject to leafletObject, as it is not working #730

Archer-Thane opened this issue Dec 5, 2023 · 0 comments

Comments

@Archer-Thane
Copy link

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
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