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

@ -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
},