Move search result polygon tooltip with mouse

pull/54/merge
Candid Dauth 2016-10-12 00:37:57 +03:00
rodzic 72c714c024
commit 76223f26ac
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -86,7 +86,7 @@
scope.activeResult = null;
ng.element(e.popup.getContent()).scope().$destroy();
})
.bindTooltip(result.display_name, $.extend({}, map.tooltipOptions))
.bindTooltip(result.display_name, $.extend({}, map.tooltipOptions, { sticky: true, offset: [ 20, 0 ] }))
);
result.marker = L.marker([ result.lat, result.lon ], {