Skip to content

Use Javascript template literals in DivIcon #1054

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

Merged

Conversation

Conengmo
Copy link
Member

Using the code in test_divicon() actually doesn't result in a working map because of the newlines in the html. Using Javascript template literals in the DivIcon template solves this problem. We've already applied these with success in the Popup and Tooltip classes so I think it's good to also use them here.

@Conengmo Conengmo added the waiting for review PR is waiting to be reviewed label Jan 13, 2019
@ocefpaf ocefpaf merged commit 0e6ca7d into python-visualization:master Jan 14, 2019
@ocefpaf
Copy link
Member

ocefpaf commented Jan 14, 2019

Thanks for fixing this!

@Conengmo Conengmo deleted the divicon-template-literals branch January 14, 2019 12:51
@Conengmo Conengmo removed the waiting for review PR is waiting to be reviewed label Jan 14, 2019
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.

2 participants