Fix rendering of route markers after last changes

pull/54/merge
Candid Dauth 2016-10-24 18:41:30 +03:00
rodzic a1aef30441
commit 39fed5219b
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -153,7 +153,7 @@
function createTempMarker(huge) {
var marker = L.marker([0,0], {
icon: fmUtils.createMarkerIcon(map.dragMarkerColour, 35, null, 1000),
icon: fmUtils.createMarkerIcon(map.dragMarkerColour, 35, null, huge ? 1000 : null),
draggable: true
})
.on("dblclick", function() {

Wyświetl plik

@ -300,7 +300,7 @@
},
submit: function(noZoom) {
scope.route(noZoom);
scope.route(false, noZoom);
}
};
routeUi.hide();

Wyświetl plik

@ -294,7 +294,7 @@
function makeTemporaryHoverMarker() {
temporaryHoverMarker = L.marker([0,0], {
icon: fmUtils.createMarkerIcon(colour, true),
icon: fmUtils.createMarkerIcon(colour, 35, null, 1000),
draggable: true
}).once("dragstart", function() {
temporaryHoverMarker.once("dragend", function() {