kopia lustrzana https://github.com/FacilMap/facilmap
Fix rendering of route markers after last changes
rodzic
a1aef30441
commit
39fed5219b
|
@ -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() {
|
||||
|
|
|
@ -300,7 +300,7 @@
|
|||
},
|
||||
|
||||
submit: function(noZoom) {
|
||||
scope.route(noZoom);
|
||||
scope.route(false, noZoom);
|
||||
}
|
||||
};
|
||||
routeUi.hide();
|
||||
|
|
|
@ -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() {
|
||||
|
|
Ładowanie…
Reference in New Issue