+ match = window.location.pathname.match(/\/browse\/(node|way|relation|changeset)\/(\d+)/);
+ if (match) {
+ mapParams.object_zoom = true;
+ mapParams.object = {type: match[1], id: parseInt(match[2])};
+ } else if (params.node || params.way || params.relation || params.note) {