Add explanatory comment
This commit is contained in:
parent
0dbd18e2bb
commit
415f6a42c7
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ OSM = {
|
||||||
mapParams.mlat = parseFloat(params.mlat);
|
mapParams.mlat = parseFloat(params.mlat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Old-style object parameters; still in use for edit links e.g. /edit?way=1234
|
||||||
if (params.node) {
|
if (params.node) {
|
||||||
mapParams.object = {type: 'node', id: parseInt(params.node)};
|
mapParams.object = {type: 'node', id: parseInt(params.node)};
|
||||||
} else if (params.way) {
|
} else if (params.way) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue