//= require augment
//= require leaflet
//= require leaflet.osm
+//= require leaflet.extend
//= require leaflet.locationfilter
//= require i18n/translations
//= require oauth
var minzoom = $(link).data("minzoom");
if (minzoom) {
var name = link.id.replace(/anchor$/, "");
-
$(link).off("click.minzoom");
-
if (zoom >= minzoom) {
$(link).attr("title", I18n.t("javascripts.site." + name + "_tooltip"))
.removeClass("disabled");
}
for (i = 0; i < ((zoom + 8) % 3); ++i) str += "-";
- /*
- * Called to interlace the bits in x and y, making a Morton code.
- */
+ // Called to interlace the bits in x and y, making a Morton code.
function interlace(x, y) {
x = (x | (x << 8)) & 0x00ff00ff;
x = (x | (x << 4)) & 0x0f0f0f0f;