-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add popup support #70
base: master
Are you sure you want to change the base?
Conversation
Any reason to not merge this? Exactly what I was looking for! |
Greatly needed! |
If this feature is intended to be merged in the near future, an update would be greatly appreciated. |
type: [Number, Object, Array] as PropType<Offset>, | ||
required: false, | ||
}, | ||
className: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide a default value for not required props.
required: false | ||
} | ||
}, | ||
async setup(props, { slots, emit }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the async needed? There is no await keyword.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be flagged with linting no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The async is not needed here. I fixed it on my fork: https://github.com/indoorequal/vue-maplibre-gl
Waiting for this too! |
I started a fork with some documentation, examples and popup support: https://github.com/indoorequal/vue-maplibre-gl. |
@razorness what's the status of this PR and this repo in general? If this repo no longer maintained I can replace the reference in awesome-maplibre to the maintained fork. |
I guess the answer is that it is no longer maintained... I'll push forward the above linked PR. |
This add support for Popup: https://maplibre.org/maplibre-gl-js/docs/API/classes/maplibregl.Popup/
Adding html content or text is supported as well as the others attributes.