Replace large awesome-markers with smaller vector-markers (#268)

This commit is contained in:
Norbert Renner 2019-12-18 21:28:58 +01:00 committed by GitHub
parent c933a7a431
commit 502735cb8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 121 additions and 22 deletions

View file

@ -96,10 +96,11 @@ BR.PoiMarkers = L.Control.extend({
return temp.innerHTML;
};
var icon = L.AwesomeMarkers.icon({
var icon = L.VectorMarkers.icon({
icon: 'star',
markerColor: 'cadetblue'
markerColor: BR.conf.markerColors.poi
});
var content = sanitizeHTMLContent(name) + '<br>';
content += "<button id='remove-poi-marker' class='btn btn-secondary'><i class='fa fa-trash'></i></button>";