vendor/assets/stylesheets/leaflet.css.erb in leaflet-rails-1.0.0 vs vendor/assets/stylesheets/leaflet.css.erb in leaflet-rails-1.0.1
- old
+ new
@@ -1,7 +1,8 @@
//= depend_on_asset "layers.png"
//= depend_on_asset "layers-2x.png"
+//= depend_on_asset "marker-icon.png"
/* required styles */
.leaflet-pane,
.leaflet-tile,
@@ -377,10 +378,10 @@
margin: 5px -10px 5px -6px;
}
/* Default icon URLs */
.leaflet-default-icon-path {
- background-image: url(images/);
+ background-image: url(<%= asset_path 'marker-icon.png' %>);
}
/* attribution and scale controls */