+ } else if (params.type == "note") {
+ var centre = new OpenLayers.LonLat(params.lon, params.lat);
+
+ setMapCenter(centre, 16);
+ addMarkerToMap(centre);
+
+ var bbox = getMapExtent();
+
+ $("#loading").hide();
+ $("#browse_map .geolink").show();
+
+ $("a[data-editor=remote]").click(function () {
+ return remoteEditHandler(bbox);
+ });
+
+ updatelinks(centre.lon, centre.lat, 16, null, bbox.left, bbox.bottom, bbox.right, bbox.top)