var OPENSTREETMAP = loadTemplate("openstreetmap");
require("include/sshfp.js");
-require("include/tile.js");
-require("include/render.js");
require("include/nominatim.js");
-OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, TILE_RECORDS, RENDER_RECORDS, NOMINATIM_RECORDS);
+try {
+ require("include/geo.js");
+} catch (e) {
+ var GEO_NS_RECORDS = [];
+}
+
+OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, GEO_NS_RECORDS, NOMINATIM_RECORDS);
OPENSTREETMAP("openstreetmap.com", REG_GANDI);
OPENSTREETMAP("openstreetmap.net", REG_GANDI);
OPENSTREETMAP("openstreetmap.ca", REG_GANDI);
OPENSTREETMAP("openstreetmap.tv", REG_GANDI);
OPENSTREETMAP("openstreetmap.wales", REG_GANDI);
OPENSTREETMAP("openstreetmapdata.org", REG_GANDI);
-OPENSTREETMAP("openstreetmap.al", REG_NONE);
+// Disable due to registration issue
+// OPENSTREETMAP("openstreetmap.al", REG_NONE);
var OSM_LI = loadTemplate("osm-li");