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

Add popup support #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

francois2metz
Copy link

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.

@douglasg14b
Copy link

Any reason to not merge this? Exactly what I was looking for!

@williamlarsson
Copy link

Greatly needed!
Using vuetify, and would love to be able to inject vuetify components or other vue components into a popup.
The main reason I switched from the "standard" maplibre to this ported one.

@williamlarsson
Copy link

If this feature is intended to be merged in the near future, an update would be greatly appreciated.
Great work btw!

type: [Number, Object, Array] as PropType<Offset>,
required: false,
},
className: {

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 }) {

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.

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?

Copy link
Author

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

@Creatium
Copy link

Waiting for this too!

@francois2metz
Copy link
Author

I started a fork with some documentation, examples and popup support: https://github.com/indoorequal/vue-maplibre-gl.
I plan to keep working on it to add new features and add maplibre-gl 4 support soon.

@HarelM
Copy link

HarelM commented Jun 20, 2024

@razorness what's the status of this PR and this repo in general?
I'm asking because the following PR had brought this subject to my attention:
maplibre/awesome-maplibre#46

If this repo no longer maintained I can replace the reference in awesome-maplibre to the maintained fork.
Sorry for being blunt...

@HarelM
Copy link

HarelM commented Jul 16, 2024

I guess the answer is that it is no longer maintained... I'll push forward the above linked PR.

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

Successfully merging this pull request may close these issues.

None yet

5 participants