Skip to content

Switch to non-minified leaflet.awesome-markers #527

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
merged 1 commit into from
Oct 20, 2016

Conversation

sseemayer
Copy link
Contributor

Fixes #505

The minified version of leaflet.awesome-markers has a problem with
correctly passing the extraClasses option to the tags 'class'
attribute, causing the fa-rotate-* classes not to be applied correctly.

As a workaround, switch to using the non-minified version of
leaflet.awesome-markers that works correctly.

Fixes python-visualization#505

The minified version of leaflet.awesome-markers has a problem with
correctly passing the extraClasses option to the <i> tags 'class'
attribute, causing the fa-rotate-* classes not to be applied correctly.

As a workaround, switch to using the non-minified version of
leaflet.awesome-markers that works correctly.
@juoceano juoceano mentioned this pull request Oct 20, 2016
@@ -5,7 +5,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.min.js"></script>
Copy link
Member

Choose a reason for hiding this comment

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

@sseemayer this is only the template for the tests, but you are in the right direction. I think that #530 nails it though.

@ocefpaf ocefpaf merged commit 15c5650 into python-visualization:master Oct 20, 2016
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