Support more eased transitions, cleanup code

(re: #3967, #5169, #5407)
This commit is contained in:
Bryan Housel
2019-01-16 13:39:10 -05:00
parent c3819dac71
commit 3fe6c0dbe7
11 changed files with 106 additions and 96 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export function modeSelectNote(context, selectedNoteID) {
if (!osm) return;
var note = osm.getNote(selectedNoteID);
if (note) {
context.map().centerZoom(note.loc, 20);
context.map().centerZoomEase(note.loc, 20);
}
};