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
|
|
@ -8,9 +8,9 @@ BR.Routing = L.Routing.extend({
|
|||
options: {
|
||||
position: 'topright',
|
||||
icons: {
|
||||
start: L.AwesomeMarkers.icon({ icon: 'play', markerColor: 'green' }),
|
||||
normal: L.AwesomeMarkers.icon({ icon: 'circle', markerColor: 'blue' }),
|
||||
end: L.AwesomeMarkers.icon({ icon: 'stop', markerColor: 'red' }),
|
||||
start: L.VectorMarkers.icon({ icon: 'play', markerColor: BR.conf.markerColors.start }),
|
||||
normal: L.VectorMarkers.icon({ icon: 'circle', markerColor: BR.conf.markerColors.via }),
|
||||
end: L.VectorMarkers.icon({ icon: 'stop', markerColor: BR.conf.markerColors.stop }),
|
||||
draw: false,
|
||||
opacity: 1
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue