kosmtik-map-compare
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -79,3 +79,3 @@ var TILELAYERS = [ | ||
this.sidebar.rebuild(); | ||
var shortcutCallback = function () { | ||
var commandCallback = function () { | ||
params.active = !params.active; | ||
@@ -85,11 +85,11 @@ L.bind(toggle, this)(); | ||
}; | ||
this.shortcuts.add({ | ||
this.commands.add({ | ||
keyCode: L.K.Keys.C, | ||
ctrlKey: true, | ||
altKey: true, | ||
callback: shortcutCallback, | ||
callback: commandCallback, | ||
context: this, | ||
description: 'Toggle map compare view' | ||
name: 'Map compare: toggle view' | ||
}); | ||
}); | ||
}); |
{ | ||
"name": "kosmtik-map-compare", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Add a map to compare side-by-side with your work", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"homepage": "https://github.com/kosmtik/kosmtik-map-compare", | ||
"kosmtik": "~0.0.5" | ||
"kosmtik": "~0.0.9" | ||
} |
@@ -20,1 +20,5 @@ # kosmtik-map-compare | ||
![screenshot](https://raw.github.com/kosmtik/kosmtik-map-compare/master/screenshot.png "Screenshot of Kosmtik") | ||
## Issues and feature requests | ||
Please report any issue or feature request on the [main kosmtik repository](https://github.com/kosmtik/kosmtik/issues). |
81168
24