Selecting relations is now supported
This commit is contained in:
parent
fd8a775526
commit
cfbb80d2d4
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<% end -%>
|
||||
|
||||
var hash;
|
||||
if (coord.object && coord.object.type !== 'relation') {
|
||||
if (coord.object) {
|
||||
hash = '#id=' + coord.object.type[0] + coord.object.id;
|
||||
} else {
|
||||
hash = '#map=' + (coord.zoom || 17) + '/' + coord.lon + '/' + coord.lat
|
||||
|
|
Loading…
Add table
Reference in a new issue