Changed shortlink zoom level correction char to '-', as this seems to fare better with twitter et al.'s URL highlighting. Decoder is backwards-compatible with the old system.
This commit is contained in:
parent
901d77837b
commit
57e571d241
2 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ function makeShortCode(lat, lon, zoom) {
|
|||
str += char_array.charAt(digit);
|
||||
}
|
||||
for (var i = 0; i < ((zoom + 8) % 3); ++i) {
|
||||
str += "=";
|
||||
str += "-";
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue