Replace large awesome-markers with smaller vector-markers (#268)
This commit is contained in:
parent
c933a7a431
commit
502735cb8e
6 changed files with 121 additions and 22 deletions
|
|
@ -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>";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue