+
+ node = $("potlatch2anchor");
+ if (node) {
+ var args = new Object();
+ args.editor = "potlatch2";
+ args.lat = lat;
+ args.lon = lon;
+ args.zoom = zoom;
+ if (objtype && objid) {
+ args[objtype] = objid;
+ }
+ node.href = setArgs("/edit", args);
+ }
+
+ node = $("josmanchor");
+ if (node) {
+ var args = new Object();
+ args.editor = "josm";
+ args.lat = lat;
+ args.lon = lon;
+ args.zoom = zoom;
+ if (objtype && objid) {
+ args[objtype] = objid;
+ }
+ node.href = setArgs("/edit", args);
+ }
+
+ node = $("historyanchor");