make routing waypoints reversible
This commit is contained in:
Родитель
97a0cec5c2
Коммит
0e9aa96c20
|
@ -363,6 +363,7 @@ table.editFavorite input[type=text] {
|
|||
text-align: center;
|
||||
}
|
||||
/* Overriden routing/geocoder style */
|
||||
.leaflet-routing-reverse-waypoints,
|
||||
.leaflet-routing-add-waypoint {
|
||||
width: 25px !important;
|
||||
height: 25px !important;
|
||||
|
|
|
@ -327,6 +327,7 @@
|
|||
// L.latLng(57.6792, 11.949)
|
||||
//],
|
||||
routeWhileDragging: true,
|
||||
reverseWaypoints: true,
|
||||
geocoder: L.Control.Geocoder.nominatim(),
|
||||
// TODO find a way to check if current NC language is supported by routing control
|
||||
//language: 'fr',
|
||||
|
|
Загрузка…
Ссылка в новой задаче