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 className option to Popup constructor #6502

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

Ashot-KR
Copy link
Contributor

Add className option to Popup constructor, so it will be able to create themes for popups with ease.

Example

var popup = new mapboxgl.Popup({
  className: 'some custom classes'
});

Related to #6299

Copy link
Contributor

@jfirebaugh jfirebaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@PterPmnta
Copy link

How does this work? I had been trying to use my own classes, but these don't work.

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.

3 participants