diff --git a/dist/site.js b/dist/site.js
index d23496885..f21efa3e5 100644
--- a/dist/site.js
+++ b/dist/site.js
@@ -4341,6 +4341,24 @@ function metatable() {
}
},{}],19:[function(require,module,exports){
+/**
+ * Escape special characters in the given string of html.
+ *
+ * @param {String} html
+ * @return {String}
+ * @api private
+ */
+
+module.exports = function(html) {
+ return String(html)
+ .replace(/&/g, '&')
+ .replace(/"/g, '"')
+ .replace(/'/g, ''')
+ .replace(//g, '>');
+}
+
+},{}],20:[function(require,module,exports){
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 2014-05-27
@@ -4583,7 +4601,7 @@ if (typeof module !== "undefined" && module !== null) {
});
}
-},{}],20:[function(require,module,exports){
+},{}],21:[function(require,module,exports){
var geojsonCoords = require('geojson-coords'),
traverse = require('traverse'),
extent = require('extent');
@@ -4613,7 +4631,7 @@ function getExtent(_) {
return ext;
}
-},{"extent":21,"geojson-coords":23,"traverse":25}],21:[function(require,module,exports){
+},{"extent":22,"geojson-coords":24,"traverse":26}],22:[function(require,module,exports){
module.exports = Extent;
function Extent() {
@@ -4676,7 +4694,7 @@ Extent.prototype.polygon = function() {
};
};
-},{}],22:[function(require,module,exports){
+},{}],23:[function(require,module,exports){
module.exports = function flatten(list, depth) {
return _flatten(list);
@@ -4696,7 +4714,7 @@ module.exports = function flatten(list, depth) {
}
};
-},{}],23:[function(require,module,exports){
+},{}],24:[function(require,module,exports){
var geojsonNormalize = require('geojson-normalize'),
geojsonFlatten = require('geojson-flatten'),
flatten = require('./flatten');
@@ -4712,7 +4730,7 @@ module.exports = function(_) {
return coordinates;
};
-},{"./flatten":22,"geojson-flatten":26,"geojson-normalize":24}],24:[function(require,module,exports){
+},{"./flatten":23,"geojson-flatten":27,"geojson-normalize":25}],25:[function(require,module,exports){
module.exports = normalize;
var types = {
@@ -4757,7 +4775,7 @@ function normalize(gj) {
}
}
-},{}],25:[function(require,module,exports){
+},{}],26:[function(require,module,exports){
var traverse = module.exports = function (obj) {
return new Traverse(obj);
};
@@ -5073,7 +5091,7 @@ var hasOwnProperty = Object.hasOwnProperty || function (obj, key) {
return key in obj;
};
-},{}],26:[function(require,module,exports){
+},{}],27:[function(require,module,exports){
module.exports = flatten;
function flatten(gj, up) {
@@ -5114,7 +5132,7 @@ function flatten(gj, up) {
}
}
-},{}],27:[function(require,module,exports){
+},{}],28:[function(require,module,exports){
module.exports = function(count, type) {
switch (type) {
case 'point':
@@ -5133,7 +5151,7 @@ function feature(geom) {
}
function collection(f) { return { type: 'FeatureCollection', features: f }; }
-},{}],28:[function(require,module,exports){
+},{}],29:[function(require,module,exports){
var dsv = require('dsv');
module.exports = function(_, delim) {
@@ -5160,9 +5178,9 @@ module.exports = function(_, delim) {
}));
};
-},{"dsv":29}],29:[function(require,module,exports){
+},{"dsv":30}],30:[function(require,module,exports){
module.exports=require(16)
-},{"fs":2}],30:[function(require,module,exports){
+},{"fs":2}],31:[function(require,module,exports){
var jsonlint = require('jsonlint-lines');
function hint(str) {
@@ -5481,7 +5499,7 @@ function hint(str) {
module.exports.hint = hint;
-},{"jsonlint-lines":31}],31:[function(require,module,exports){
+},{"jsonlint-lines":32}],32:[function(require,module,exports){
(function (process){
/* parser generated by jison 0.4.6 */
/*
@@ -6138,7 +6156,7 @@ if (typeof module !== 'undefined' && require.main === module) {
}
}
}).call(this,require("FWaASH"))
-},{"FWaASH":11,"fs":2,"path":10}],32:[function(require,module,exports){
+},{"FWaASH":11,"fs":2,"path":10}],33:[function(require,module,exports){
var request = require('browser-request'),
token;
@@ -6234,7 +6252,7 @@ function page(postfix, callback) {
});
}
-},{"browser-request":33}],33:[function(require,module,exports){
+},{"browser-request":34}],34:[function(require,module,exports){
// Browser Request
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -6730,7 +6748,7 @@ function b64_enc (data) {
}));
//UMD FOOTER END
-},{}],34:[function(require,module,exports){
+},{}],35:[function(require,module,exports){
var queue = require('queue-async'),
request = require('browser-request'),
treeui = require('treeui'),
@@ -6865,9 +6883,9 @@ function req(postfix, callback) {
}
}
-},{"browser-request":35,"queue-async":36,"treeui":37}],35:[function(require,module,exports){
-module.exports=require(33)
-},{}],36:[function(require,module,exports){
+},{"browser-request":36,"queue-async":37,"treeui":38}],36:[function(require,module,exports){
+module.exports=require(34)
+},{}],37:[function(require,module,exports){
(function() {
var slice = [].slice;
@@ -6949,7 +6967,7 @@ module.exports=require(33)
else this.queue = queue;
})();
-},{}],37:[function(require,module,exports){
+},{}],38:[function(require,module,exports){
module.exports = function(request) {
var parent = ce('div', 'treeui'),
onclick = function() { };
@@ -7048,7 +7066,7 @@ function ae(x, y, z) {
return x.addEventListener(y, z);
}
-},{}],38:[function(require,module,exports){
+},{}],39:[function(require,module,exports){
var spherical = require('spherical'),
geojsonArea = require('geojson-area');
@@ -7093,7 +7111,7 @@ module.exports.area = function(layer) {
return geojsonArea(gj.geometry);
};
-},{"geojson-area":39,"spherical":41}],39:[function(require,module,exports){
+},{"geojson-area":40,"spherical":42}],40:[function(require,module,exports){
var wgs84 = require('wgs84');
module.exports = function(_) {
@@ -7155,12 +7173,12 @@ function rad(_) {
return _ * Math.PI / 180;
}
-},{"wgs84":40}],40:[function(require,module,exports){
+},{"wgs84":41}],41:[function(require,module,exports){
module.exports.RADIUS = 6378137;
module.exports.FLATTENING = 1/298.257223563;
module.exports.POLAR_RADIUS = 6356752.3142;
-},{}],41:[function(require,module,exports){
+},{}],42:[function(require,module,exports){
var wgs84 = require('wgs84');
module.exports.heading = function(from, to) {
@@ -7214,9 +7232,9 @@ function deg(_) {
return _ * (180 / Math.PI);
}
-},{"wgs84":42}],42:[function(require,module,exports){
-module.exports=require(40)
-},{}],43:[function(require,module,exports){
+},{"wgs84":43}],43:[function(require,module,exports){
+module.exports=require(41)
+},{}],44:[function(require,module,exports){
(function(window) {
var HAS_HASHCHANGE = (function() {
var doc_mode = window.documentMode;
@@ -7380,7 +7398,7 @@ module.exports=require(40)
};
})(window);
-},{}],44:[function(require,module,exports){
+},{}],45:[function(require,module,exports){
(function (global){
/**
* marked - a markdown parser
@@ -8650,7 +8668,7 @@ if (typeof exports === 'object') {
}());
}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{}],45:[function(require,module,exports){
+},{}],46:[function(require,module,exports){
var _ = require("./lodash.custom.js");
var rewind = require("geojson-rewind");
@@ -9246,7 +9264,7 @@ osmtogeojson.toGeojson = osmtogeojson;
module.exports = osmtogeojson;
-},{"./lodash.custom.js":46,"./polygon_features.json":50,"geojson-rewind":47}],46:[function(require,module,exports){
+},{"./lodash.custom.js":47,"./polygon_features.json":51,"geojson-rewind":48}],47:[function(require,module,exports){
(function (global){
/**
* @license
@@ -11044,7 +11062,7 @@ module.exports = osmtogeojson;
}.call(this));
}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{}],47:[function(require,module,exports){
+},{}],48:[function(require,module,exports){
var geojsonArea = require('geojson-area');
module.exports = rewind;
@@ -11095,7 +11113,7 @@ function cw(_) {
return geojsonArea.ring(_) >= 0;
}
-},{"geojson-area":48}],48:[function(require,module,exports){
+},{"geojson-area":49}],49:[function(require,module,exports){
var wgs84 = require('wgs84');
module.exports.geometry = geometry;
@@ -11161,9 +11179,9 @@ function rad(_) {
return _ * Math.PI / 180;
}
-},{"wgs84":49}],49:[function(require,module,exports){
-module.exports=require(40)
-},{}],50:[function(require,module,exports){
+},{"wgs84":50}],50:[function(require,module,exports){
+module.exports=require(41)
+},{}],51:[function(require,module,exports){
module.exports={
"building": true,
"highway": {
@@ -11244,7 +11262,7 @@ module.exports={
"area:highway": true,
"craft": true
}
-},{}],51:[function(require,module,exports){
+},{}],52:[function(require,module,exports){
module.exports = function (data) {
var lines = data.split('\n'),
isNameLine = true,
@@ -11310,7 +11328,7 @@ module.exports = function (data) {
return gj;
};
-},{}],52:[function(require,module,exports){
+},{}],53:[function(require,module,exports){
/*
* Given a querystring, return an object of that querystring's components.
*
@@ -11343,14 +11361,14 @@ module.exports.qsString = function(obj, noencode) {
}).join('&');
};
-},{}],53:[function(require,module,exports){
+},{}],54:[function(require,module,exports){
module.exports.download = require('./src/download')
module.exports.write = require('./src/write')
module.exports.zip = require('./src/zip')
-},{"./src/download":98,"./src/write":106,"./src/zip":107}],54:[function(require,module,exports){
+},{"./src/download":99,"./src/write":107,"./src/zip":108}],55:[function(require,module,exports){
module.exports.structure = require('./src/structure');
-},{"./src/structure":58}],55:[function(require,module,exports){
+},{"./src/structure":59}],56:[function(require,module,exports){
var fieldSize = require('./fieldsize');
var types = {
@@ -11394,7 +11412,7 @@ function bytesPer(fields) {
return fields.reduce(function(memo, f) { return memo + f.size; }, 1);
}
-},{"./fieldsize":56}],56:[function(require,module,exports){
+},{"./fieldsize":57}],57:[function(require,module,exports){
module.exports = {
// string
C: 254,
@@ -11412,7 +11430,7 @@ module.exports = {
B: 8,
};
-},{}],57:[function(require,module,exports){
+},{}],58:[function(require,module,exports){
module.exports.lpad = function lpad(str, len, char) {
while (str.length < len) { str = char + str; } return str;
};
@@ -11428,7 +11446,7 @@ module.exports.writeField = function writeField(view, fieldLength, str, offset)
return offset;
};
-},{}],58:[function(require,module,exports){
+},{}],59:[function(require,module,exports){
var fieldSize = require('./fieldsize'),
lib = require('./lib'),
fields = require('./fields');
@@ -11525,7 +11543,7 @@ module.exports = function structure(data) {
return view;
};
-},{"./fields":55,"./fieldsize":56,"./lib":57}],59:[function(require,module,exports){
+},{"./fields":56,"./fieldsize":57,"./lib":58}],60:[function(require,module,exports){
'use strict';
// private property
var _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
@@ -11597,7 +11615,7 @@ exports.decode = function(input, utf8) {
};
-},{}],60:[function(require,module,exports){
+},{}],61:[function(require,module,exports){
'use strict';
function CompressedObject() {
this.compressedSize = 0;
@@ -11627,7 +11645,7 @@ CompressedObject.prototype = {
};
module.exports = CompressedObject;
-},{}],61:[function(require,module,exports){
+},{}],62:[function(require,module,exports){
'use strict';
exports.STORE = {
magic: "\x00\x00",
@@ -11642,7 +11660,7 @@ exports.STORE = {
};
exports.DEFLATE = require('./flate');
-},{"./flate":66}],62:[function(require,module,exports){
+},{"./flate":67}],63:[function(require,module,exports){
'use strict';
var utils = require('./utils');
@@ -11746,7 +11764,7 @@ module.exports = function crc32(input, crc) {
};
// vim: set shiftwidth=4 softtabstop=4:
-},{"./utils":79}],63:[function(require,module,exports){
+},{"./utils":80}],64:[function(require,module,exports){
'use strict';
var utils = require('./utils');
@@ -11855,7 +11873,7 @@ DataReader.prototype = {
};
module.exports = DataReader;
-},{"./utils":79}],64:[function(require,module,exports){
+},{"./utils":80}],65:[function(require,module,exports){
'use strict';
exports.base64 = false;
exports.binary = false;
@@ -11865,7 +11883,7 @@ exports.date = null;
exports.compression = null;
exports.comment = null;
-},{}],65:[function(require,module,exports){
+},{}],66:[function(require,module,exports){
'use strict';
var utils = require('./utils');
@@ -11972,7 +11990,7 @@ exports.isRegExp = function (object) {
};
-},{"./utils":79}],66:[function(require,module,exports){
+},{"./utils":80}],67:[function(require,module,exports){
'use strict';
var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined');
@@ -11988,7 +12006,7 @@ exports.uncompress = function(input) {
return pako.inflateRaw(input);
};
-},{"pako":82}],67:[function(require,module,exports){
+},{"pako":83}],68:[function(require,module,exports){
'use strict';
var base64 = require('./base64');
@@ -12069,7 +12087,7 @@ JSZip.base64 = {
JSZip.compressions = require('./compressions');
module.exports = JSZip;
-},{"./base64":59,"./compressions":61,"./defaults":64,"./deprecatedPublicUtils":65,"./load":68,"./object":71,"./support":75}],68:[function(require,module,exports){
+},{"./base64":60,"./compressions":62,"./defaults":65,"./deprecatedPublicUtils":66,"./load":69,"./object":72,"./support":76}],69:[function(require,module,exports){
'use strict';
var base64 = require('./base64');
var ZipEntries = require('./zipEntries');
@@ -12100,7 +12118,7 @@ module.exports = function(data, options) {
return this;
};
-},{"./base64":59,"./zipEntries":80}],69:[function(require,module,exports){
+},{"./base64":60,"./zipEntries":81}],70:[function(require,module,exports){
(function (Buffer){
'use strict';
module.exports = function(data, encoding){
@@ -12110,7 +12128,7 @@ module.exports.test = function(b){
return Buffer.isBuffer(b);
};
}).call(this,require("buffer").Buffer)
-},{"buffer":5}],70:[function(require,module,exports){
+},{"buffer":5}],71:[function(require,module,exports){
'use strict';
var Uint8ArrayReader = require('./uint8ArrayReader');
@@ -12132,7 +12150,7 @@ NodeBufferReader.prototype.readData = function(size) {
};
module.exports = NodeBufferReader;
-},{"./uint8ArrayReader":76}],71:[function(require,module,exports){
+},{"./uint8ArrayReader":77}],72:[function(require,module,exports){
'use strict';
var support = require('./support');
var utils = require('./utils');
@@ -12902,7 +12920,7 @@ var out = {
};
module.exports = out;
-},{"./base64":59,"./compressedObject":60,"./compressions":61,"./crc32":62,"./defaults":64,"./nodeBuffer":69,"./signature":72,"./stringWriter":74,"./support":75,"./uint8ArrayWriter":77,"./utf8":78,"./utils":79}],72:[function(require,module,exports){
+},{"./base64":60,"./compressedObject":61,"./compressions":62,"./crc32":63,"./defaults":65,"./nodeBuffer":70,"./signature":73,"./stringWriter":75,"./support":76,"./uint8ArrayWriter":78,"./utf8":79,"./utils":80}],73:[function(require,module,exports){
'use strict';
exports.LOCAL_FILE_HEADER = "PK\x03\x04";
exports.CENTRAL_FILE_HEADER = "PK\x01\x02";
@@ -12911,7 +12929,7 @@ exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07";
exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06";
exports.DATA_DESCRIPTOR = "PK\x07\x08";
-},{}],73:[function(require,module,exports){
+},{}],74:[function(require,module,exports){
'use strict';
var DataReader = require('./dataReader');
var utils = require('./utils');
@@ -12949,7 +12967,7 @@ StringReader.prototype.readData = function(size) {
};
module.exports = StringReader;
-},{"./dataReader":63,"./utils":79}],74:[function(require,module,exports){
+},{"./dataReader":64,"./utils":80}],75:[function(require,module,exports){
'use strict';
var utils = require('./utils');
@@ -12981,7 +12999,7 @@ StringWriter.prototype = {
module.exports = StringWriter;
-},{"./utils":79}],75:[function(require,module,exports){
+},{"./utils":80}],76:[function(require,module,exports){
(function (Buffer){
'use strict';
exports.base64 = true;
@@ -13019,7 +13037,7 @@ else {
}
}).call(this,require("buffer").Buffer)
-},{"buffer":5}],76:[function(require,module,exports){
+},{"buffer":5}],77:[function(require,module,exports){
'use strict';
var DataReader = require('./dataReader');
@@ -13068,7 +13086,7 @@ Uint8ArrayReader.prototype.readData = function(size) {
};
module.exports = Uint8ArrayReader;
-},{"./dataReader":63}],77:[function(require,module,exports){
+},{"./dataReader":64}],78:[function(require,module,exports){
'use strict';
var utils = require('./utils');
@@ -13106,7 +13124,7 @@ Uint8ArrayWriter.prototype = {
module.exports = Uint8ArrayWriter;
-},{"./utils":79}],78:[function(require,module,exports){
+},{"./utils":80}],79:[function(require,module,exports){
'use strict';
var utils = require('./utils');
@@ -13315,7 +13333,7 @@ exports.utf8decode = function utf8decode(buf) {
};
// vim: set shiftwidth=4 softtabstop=4:
-},{"./nodeBuffer":69,"./support":75,"./utils":79}],79:[function(require,module,exports){
+},{"./nodeBuffer":70,"./support":76,"./utils":80}],80:[function(require,module,exports){
'use strict';
var support = require('./support');
var compressions = require('./compressions');
@@ -13642,7 +13660,7 @@ exports.isRegExp = function (object) {
};
-},{"./compressions":61,"./nodeBuffer":69,"./support":75}],80:[function(require,module,exports){
+},{"./compressions":62,"./nodeBuffer":70,"./support":76}],81:[function(require,module,exports){
'use strict';
var StringReader = require('./stringReader');
var NodeBufferReader = require('./nodeBufferReader');
@@ -13847,7 +13865,7 @@ ZipEntries.prototype = {
// }}} end of ZipEntries
module.exports = ZipEntries;
-},{"./nodeBufferReader":70,"./object":71,"./signature":72,"./stringReader":73,"./support":75,"./uint8ArrayReader":76,"./utils":79,"./zipEntry":81}],81:[function(require,module,exports){
+},{"./nodeBufferReader":71,"./object":72,"./signature":73,"./stringReader":74,"./support":76,"./uint8ArrayReader":77,"./utils":80,"./zipEntry":82}],82:[function(require,module,exports){
'use strict';
var StringReader = require('./stringReader');
var utils = require('./utils');
@@ -14128,7 +14146,7 @@ ZipEntry.prototype = {
};
module.exports = ZipEntry;
-},{"./compressedObject":60,"./object":71,"./stringReader":73,"./utils":79}],82:[function(require,module,exports){
+},{"./compressedObject":61,"./object":72,"./stringReader":74,"./utils":80}],83:[function(require,module,exports){
// Top level file is just a mixin of submodules & constants
'use strict';
@@ -14143,7 +14161,7 @@ var pako = {};
assign(pako, deflate, inflate, constants);
module.exports = pako;
-},{"./lib/deflate":83,"./lib/inflate":84,"./lib/utils/common":85,"./lib/zlib/constants":88}],83:[function(require,module,exports){
+},{"./lib/deflate":84,"./lib/inflate":85,"./lib/utils/common":86,"./lib/zlib/constants":89}],84:[function(require,module,exports){
'use strict';
@@ -14505,7 +14523,7 @@ exports.Deflate = Deflate;
exports.deflate = deflate;
exports.deflateRaw = deflateRaw;
exports.gzip = gzip;
-},{"./utils/common":85,"./utils/strings":86,"./zlib/deflate.js":90,"./zlib/messages":95,"./zlib/zstream":97}],84:[function(require,module,exports){
+},{"./utils/common":86,"./utils/strings":87,"./zlib/deflate.js":91,"./zlib/messages":96,"./zlib/zstream":98}],85:[function(require,module,exports){
'use strict';
@@ -14871,7 +14889,7 @@ exports.inflate = inflate;
exports.inflateRaw = inflateRaw;
exports.ungzip = inflate;
-},{"./utils/common":85,"./utils/strings":86,"./zlib/constants":88,"./zlib/gzheader":91,"./zlib/inflate.js":93,"./zlib/messages":95,"./zlib/zstream":97}],85:[function(require,module,exports){
+},{"./utils/common":86,"./utils/strings":87,"./zlib/constants":89,"./zlib/gzheader":92,"./zlib/inflate.js":94,"./zlib/messages":96,"./zlib/zstream":98}],86:[function(require,module,exports){
'use strict';
@@ -14974,7 +14992,7 @@ exports.setTyped = function (on) {
};
exports.setTyped(TYPED_OK);
-},{}],86:[function(require,module,exports){
+},{}],87:[function(require,module,exports){
// String encode/decode helpers
'use strict';
@@ -15161,7 +15179,7 @@ exports.utf8border = function(buf, max) {
return (pos + _utf8len[buf[pos]] > max) ? pos : max;
};
-},{"./common":85}],87:[function(require,module,exports){
+},{"./common":86}],88:[function(require,module,exports){
'use strict';
// Note: adler32 takes 12% for level 0 and 2% for level 6.
@@ -15194,7 +15212,7 @@ function adler32(adler, buf, len, pos) {
module.exports = adler32;
-},{}],88:[function(require,module,exports){
+},{}],89:[function(require,module,exports){
module.exports = {
/* Allowed flush values; see deflate() and inflate() below for details */
@@ -15242,7 +15260,7 @@ module.exports = {
Z_DEFLATED: 8
//Z_NULL: null // Use -1 or null inline, depending on var type
};
-},{}],89:[function(require,module,exports){
+},{}],90:[function(require,module,exports){
'use strict';
// Note: we can't get significant speed boost here.
@@ -15284,7 +15302,7 @@ function crc32(crc, buf, len, pos) {
module.exports = crc32;
-},{}],90:[function(require,module,exports){
+},{}],91:[function(require,module,exports){
'use strict';
var utils = require('../utils/common');
@@ -17050,7 +17068,7 @@ exports.deflatePending = deflatePending;
exports.deflatePrime = deflatePrime;
exports.deflateTune = deflateTune;
*/
-},{"../utils/common":85,"./adler32":87,"./crc32":89,"./messages":95,"./trees":96}],91:[function(require,module,exports){
+},{"../utils/common":86,"./adler32":88,"./crc32":90,"./messages":96,"./trees":97}],92:[function(require,module,exports){
'use strict';
@@ -17091,7 +17109,7 @@ function GZheader() {
}
module.exports = GZheader;
-},{}],92:[function(require,module,exports){
+},{}],93:[function(require,module,exports){
'use strict';
// See state defs from inflate.js
@@ -17418,7 +17436,7 @@ module.exports = function inflate_fast(strm, start) {
return;
};
-},{}],93:[function(require,module,exports){
+},{}],94:[function(require,module,exports){
'use strict';
@@ -18922,7 +18940,7 @@ exports.inflateSync = inflateSync;
exports.inflateSyncPoint = inflateSyncPoint;
exports.inflateUndermine = inflateUndermine;
*/
-},{"../utils/common":85,"./adler32":87,"./crc32":89,"./inffast":92,"./inftrees":94}],94:[function(require,module,exports){
+},{"../utils/common":86,"./adler32":88,"./crc32":90,"./inffast":93,"./inftrees":95}],95:[function(require,module,exports){
'use strict';
@@ -19249,7 +19267,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta
return 0;
};
-},{"../utils/common":85}],95:[function(require,module,exports){
+},{"../utils/common":86}],96:[function(require,module,exports){
'use strict';
module.exports = {
@@ -19263,7 +19281,7 @@ module.exports = {
'-5': 'buffer error', /* Z_BUF_ERROR (-5) */
'-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */
};
-},{}],96:[function(require,module,exports){
+},{}],97:[function(require,module,exports){
'use strict';
@@ -20463,7 +20481,7 @@ exports._tr_stored_block = _tr_stored_block;
exports._tr_flush_block = _tr_flush_block;
exports._tr_tally = _tr_tally;
exports._tr_align = _tr_align;
-},{"../utils/common":85}],97:[function(require,module,exports){
+},{"../utils/common":86}],98:[function(require,module,exports){
'use strict';
@@ -20493,7 +20511,7 @@ function ZStream() {
}
module.exports = ZStream;
-},{}],98:[function(require,module,exports){
+},{}],99:[function(require,module,exports){
var zip = require('./zip');
module.exports = function(gj) {
@@ -20501,7 +20519,7 @@ module.exports = function(gj) {
location.href = 'data:application/zip;base64,' + content;
};
-},{"./zip":107}],99:[function(require,module,exports){
+},{"./zip":108}],100:[function(require,module,exports){
module.exports.enlarge = function enlargeExtent(extent, pt) {
if (pt[0] < extent.xmin) extent.xmin = pt[0];
if (pt[0] > extent.xmax) extent.xmax = pt[0];
@@ -20527,7 +20545,7 @@ module.exports.blank = function() {
};
};
-},{}],100:[function(require,module,exports){
+},{}],101:[function(require,module,exports){
var types = require('./types').jstypes;
module.exports.geojson = geojson;
@@ -20557,7 +20575,7 @@ function obj(_) {
return o;
}
-},{"./types":105}],101:[function(require,module,exports){
+},{"./types":106}],102:[function(require,module,exports){
module.exports.point = justType('Point', 'POINT');
module.exports.line = justType('LineString', 'POLYLINE');
module.exports.polygon = justType('Polygon', 'POLYGON');
@@ -20591,7 +20609,7 @@ function isType(t) {
return function(f) { return f.geometry.type === t; };
}
-},{}],102:[function(require,module,exports){
+},{}],103:[function(require,module,exports){
var ext = require('./extent');
module.exports.write = function writePoints(coordinates, extent, shpView, shxView) {
@@ -20638,7 +20656,7 @@ module.exports.shpLength = function(coordinates) {
return coordinates.length * 28;
};
-},{"./extent":99}],103:[function(require,module,exports){
+},{"./extent":100}],104:[function(require,module,exports){
var ext = require('./extent');
module.exports.write = function writePoints(geometries, extent, shpView, shxView, TYPE) {
@@ -20718,10 +20736,10 @@ function justCoords(coords, l) {
}
}
-},{"./extent":99}],104:[function(require,module,exports){
+},{"./extent":100}],105:[function(require,module,exports){
module.exports = 'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]';
-},{}],105:[function(require,module,exports){
+},{}],106:[function(require,module,exports){
module.exports.geometries = {
NULL: 0,
POINT: 1,
@@ -20739,7 +20757,7 @@ module.exports.geometries = {
MULTIPATCH: 31,
};
-},{}],106:[function(require,module,exports){
+},{}],107:[function(require,module,exports){
var types = require('./types'),
dbf = require('dbf'),
prj = require('./prj'),
@@ -20808,7 +20826,7 @@ function writeExtent(extent, view) {
view.setFloat64(60, extent.ymax, true);
}
-},{"./extent":99,"./fields":100,"./points":102,"./poly":103,"./prj":104,"./types":105,"assert":3,"dbf":54}],107:[function(require,module,exports){
+},{"./extent":100,"./fields":101,"./points":103,"./poly":104,"./prj":105,"./types":106,"assert":3,"dbf":55}],108:[function(require,module,exports){
var write = require('./write'),
geojson = require('./geojson'),
prj = require('./prj'),
@@ -20840,7 +20858,7 @@ module.exports = function(gj) {
return zip.generate({compression:'STORE'});
};
-},{"./geojson":101,"./prj":104,"./write":106,"jszip":67}],108:[function(require,module,exports){
+},{"./geojson":102,"./prj":105,"./write":107,"jszip":68}],109:[function(require,module,exports){
(function (global){
;(function(win){
var store = {},
@@ -21008,7 +21026,7 @@ module.exports = function(gj) {
})(this.window || global);
}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{}],109:[function(require,module,exports){
+},{}],110:[function(require,module,exports){
(function (process){
toGeoJSON = (function() {
'use strict';
@@ -21247,7 +21265,7 @@ toGeoJSON = (function() {
if (typeof module !== 'undefined') module.exports = toGeoJSON;
}).call(this,require("FWaASH"))
-},{"FWaASH":11,"xmldom":4}],110:[function(require,module,exports){
+},{"FWaASH":11,"xmldom":4}],111:[function(require,module,exports){
var strxml = require('strxml'),
tag = strxml.tag,
encode = strxml.encode;
@@ -21444,7 +21462,7 @@ function pairs(_) {
return o;
}
-},{"strxml":111}],111:[function(require,module,exports){
+},{"strxml":112}],112:[function(require,module,exports){
module.exports.attr = attr;
module.exports.tagClose = tagClose;
module.exports.tag = tag;
@@ -21503,7 +21521,7 @@ topojson.bind = require("./lib/topojson/bind");
topojson.stitch = require("./lib/topojson/stitch");
topojson.scale = require("./lib/topojson/scale");
-},{"./lib/topojson/bind":114,"./lib/topojson/clockwise":117,"./lib/topojson/filter":121,"./lib/topojson/prune":125,"./lib/topojson/scale":127,"./lib/topojson/simplify":128,"./lib/topojson/stitch":130,"./lib/topojson/topology":131,"./topojson":143}],114:[function(require,module,exports){
+},{"./lib/topojson/bind":115,"./lib/topojson/clockwise":118,"./lib/topojson/filter":122,"./lib/topojson/prune":126,"./lib/topojson/scale":128,"./lib/topojson/simplify":129,"./lib/topojson/stitch":131,"./lib/topojson/topology":132,"./topojson":144}],115:[function(require,module,exports){
var type = require("./type"),
topojson = require("../../");
@@ -21533,7 +21551,7 @@ module.exports = function(topology, propertiesById) {
function noop() {}
-},{"../../":"BOmyIj","./type":142}],115:[function(require,module,exports){
+},{"../../":"BOmyIj","./type":143}],116:[function(require,module,exports){
// Computes the bounding box of the specified hash of GeoJSON objects.
module.exports = function(objects) {
@@ -21580,7 +21598,7 @@ module.exports = function(objects) {
return [x0, y0, x1, y1];
};
-},{}],116:[function(require,module,exports){
+},{}],117:[function(require,module,exports){
exports.name = "cartesian";
exports.formatDistance = formatDistance;
exports.ringArea = ringArea;
@@ -21620,7 +21638,7 @@ function distance(x0, y0, x1, y1) {
return Math.sqrt(dx * dx + dy * dy);
}
-},{}],117:[function(require,module,exports){
+},{}],118:[function(require,module,exports){
var type = require("./type"),
systems = require("./coordinate-systems"),
topojson = require("../../");
@@ -21711,7 +21729,7 @@ function clockwisePolygonSystem(ringArea, reverse) {
function noop() {}
-},{"../../":"BOmyIj","./coordinate-systems":119,"./type":142}],118:[function(require,module,exports){
+},{"../../":"BOmyIj","./coordinate-systems":120,"./type":143}],119:[function(require,module,exports){
// Given a hash of GeoJSON objects and an id function, invokes the id function
// to compute a new id for each object that is a feature. The function is passed
// the feature and is expected to return the new feature id, or null if the
@@ -21741,13 +21759,13 @@ module.exports = function(objects, id) {
return objects;
};
-},{}],119:[function(require,module,exports){
+},{}],120:[function(require,module,exports){
module.exports = {
cartesian: require("./cartesian"),
spherical: require("./spherical")
};
-},{"./cartesian":116,"./spherical":129}],120:[function(require,module,exports){
+},{"./cartesian":117,"./spherical":130}],121:[function(require,module,exports){
// Given a TopoJSON topology in absolute (quantized) coordinates,
// converts to fixed-point delta encoding.
// This is a destructive operation that modifies the given topology!
@@ -21778,7 +21796,7 @@ module.exports = function(topology) {
return topology;
};
-},{}],121:[function(require,module,exports){
+},{}],122:[function(require,module,exports){
var type = require("./type"),
prune = require("./prune"),
clockwise = require("./clockwise"),
@@ -21907,7 +21925,7 @@ function preserveNone() {
return false;
}
-},{"../../":"BOmyIj","./clockwise":117,"./coordinate-systems":119,"./prune":125,"./type":142}],122:[function(require,module,exports){
+},{"../../":"BOmyIj","./clockwise":118,"./coordinate-systems":120,"./prune":126,"./type":143}],123:[function(require,module,exports){
// Given a hash of GeoJSON objects, replaces Features with geometry objects.
// This is a destructive operation that modifies the input objects!
module.exports = function(objects) {
@@ -22026,7 +22044,7 @@ module.exports = function(objects) {
return objects;
};
-},{}],123:[function(require,module,exports){
+},{}],124:[function(require,module,exports){
var quantize = require("./quantize");
module.exports = function(topology, Q0, Q1) {
@@ -22074,7 +22092,7 @@ module.exports = function(topology, Q0, Q1) {
return topology;
};
-},{"./quantize":126}],124:[function(require,module,exports){
+},{"./quantize":127}],125:[function(require,module,exports){
var quantize = require("./quantize");
module.exports = function(objects, bbox, Q0, Q1) {
@@ -22133,7 +22151,7 @@ module.exports = function(objects, bbox, Q0, Q1) {
return q.transform;
};
-},{"./quantize":126}],125:[function(require,module,exports){
+},{"./quantize":127}],126:[function(require,module,exports){
module.exports = function(topology, options) {
var verbose = false,
objects = topology.objects,
@@ -22190,7 +22208,7 @@ module.exports = function(topology, options) {
function noop() {}
-},{}],126:[function(require,module,exports){
+},{}],127:[function(require,module,exports){
module.exports = function(dx, dy, kx, ky) {
function quantizePoint(coordinates) {
@@ -22234,7 +22252,7 @@ module.exports = function(dx, dy, kx, ky) {
};
};
-},{}],127:[function(require,module,exports){
+},{}],128:[function(require,module,exports){
var type = require("./type");
module.exports = function(topology, options) {
@@ -22314,7 +22332,7 @@ module.exports = function(topology, options) {
function noop() {}
-},{"./type":142}],128:[function(require,module,exports){
+},{"./type":143}],129:[function(require,module,exports){
var topojson = require("../../"),
systems = require("./coordinate-systems");
@@ -22423,7 +22441,7 @@ module.exports = function(topology, options) {
return topology;
};
-},{"../../":"BOmyIj","./coordinate-systems":119}],129:[function(require,module,exports){
+},{"../../":"BOmyIj","./coordinate-systems":120}],130:[function(require,module,exports){
var π = Math.PI,
π_4 = π / 4,
radians = π / 180;
@@ -22504,7 +22522,7 @@ function haversin(x) {
return (x = Math.sin(x / 2)) * x;
}
-},{}],130:[function(require,module,exports){
+},{}],131:[function(require,module,exports){
var type = require("./type");
module.exports = function(objects, transform) {
@@ -22687,7 +22705,7 @@ module.exports = function(objects, transform) {
}
};
-},{"./type":142}],131:[function(require,module,exports){
+},{"./type":143}],132:[function(require,module,exports){
var type = require("./type"),
stitch = require("./stitch"),
systems = require("./coordinate-systems"),
@@ -22800,7 +22818,7 @@ module.exports = function(objects, options) {
return topology;
};
-},{"./bounds":115,"./compute-id":118,"./coordinate-systems":119,"./delta":120,"./geomify":122,"./post-quantize":123,"./pre-quantize":124,"./stitch":130,"./topology/index":137,"./transform-properties":141,"./type":142}],132:[function(require,module,exports){
+},{"./bounds":116,"./compute-id":119,"./coordinate-systems":120,"./delta":121,"./geomify":123,"./post-quantize":124,"./pre-quantize":125,"./stitch":131,"./topology/index":138,"./transform-properties":142,"./type":143}],133:[function(require,module,exports){
var join = require("./join");
// Given an extracted (pre-)topology, cuts (or rotates) arcs so that all shared
@@ -22862,7 +22880,7 @@ function reverse(array, start, end) {
}
}
-},{"./join":138}],133:[function(require,module,exports){
+},{"./join":139}],134:[function(require,module,exports){
var join = require("./join"),
hashmap = require("./hashmap"),
hashPoint = require("./point-hash"),
@@ -23048,7 +23066,7 @@ module.exports = function(topology) {
return topology;
};
-},{"./hashmap":135,"./join":138,"./point-equal":139,"./point-hash":140}],134:[function(require,module,exports){
+},{"./hashmap":136,"./join":139,"./point-equal":140,"./point-hash":141}],135:[function(require,module,exports){
// Extracts the lines and rings from the specified hash of geometry objects.
//
// Returns an object with three properties:
@@ -23115,7 +23133,7 @@ module.exports = function(objects) {
};
};
-},{}],135:[function(require,module,exports){
+},{}],136:[function(require,module,exports){
module.exports = function(size, hash, equal, keyType, keyEmpty, valueType) {
if (arguments.length === 3) {
keyType = valueType = Array;
@@ -23190,7 +23208,7 @@ module.exports = function(size, hash, equal, keyType, keyEmpty, valueType) {
};
};
-},{}],136:[function(require,module,exports){
+},{}],137:[function(require,module,exports){
module.exports = function(size, hash, equal, type, empty) {
if (arguments.length === 3) {
type = Array;
@@ -23247,7 +23265,7 @@ module.exports = function(size, hash, equal, type, empty) {
};
};
-},{}],137:[function(require,module,exports){
+},{}],138:[function(require,module,exports){
var hashmap = require("./hashmap"),
extract = require("./extract"),
cut = require("./cut"),
@@ -23317,7 +23335,7 @@ function equalArc(arcA, arcB) {
return ia === ib && ja === jb;
}
-},{"./cut":132,"./dedup":133,"./extract":134,"./hashmap":135}],138:[function(require,module,exports){
+},{"./cut":133,"./dedup":134,"./extract":135,"./hashmap":136}],139:[function(require,module,exports){
var hashset = require("./hashset"),
hashmap = require("./hashmap"),
hashPoint = require("./point-hash"),
@@ -23432,12 +23450,12 @@ module.exports = function(topology) {
return junctionByPoint;
};
-},{"./hashmap":135,"./hashset":136,"./point-equal":139,"./point-hash":140}],139:[function(require,module,exports){
+},{"./hashmap":136,"./hashset":137,"./point-equal":140,"./point-hash":141}],140:[function(require,module,exports){
module.exports = function(pointA, pointB) {
return pointA[0] === pointB[0] && pointA[1] === pointB[1];
};
-},{}],140:[function(require,module,exports){
+},{}],141:[function(require,module,exports){
// TODO if quantized, use simpler Int32 hashing?
var buffer = new ArrayBuffer(16),
@@ -23452,7 +23470,7 @@ module.exports = function(point) {
return hash & 0x7fffffff;
};
-},{}],141:[function(require,module,exports){
+},{}],142:[function(require,module,exports){
// Given a hash of GeoJSON objects, transforms any properties on features using
// the specified transform function. The function is invoked for each existing
// property on the current feature, being passed the new properties hash, the
@@ -23497,7 +23515,7 @@ module.exports = function(objects, propertyTransform) {
return objects;
};
-},{}],142:[function(require,module,exports){
+},{}],143:[function(require,module,exports){
module.exports = function(types) {
for (var type in typeDefaults) {
if (!(type in types)) {
@@ -23591,7 +23609,7 @@ var typeObjects = {
FeatureCollection: 1
};
-},{}],143:[function(require,module,exports){
+},{}],144:[function(require,module,exports){
!function() {
var topojson = {
version: "1.6.8",
@@ -24125,7 +24143,7 @@ var typeObjects = {
else this.topojson = topojson;
}();
-},{}],144:[function(require,module,exports){
+},{}],145:[function(require,module,exports){
module.exports = parse;
module.exports.parse = parse;
module.exports.stringify = stringify;
@@ -24376,7 +24394,7 @@ function stringify(gj) {
}
}
-},{}],145:[function(require,module,exports){
+},{}],146:[function(require,module,exports){
module.exports = extend
function extend() {
@@ -24395,7 +24413,7 @@ function extend() {
return target
}
-},{}],146:[function(require,module,exports){
+},{}],147:[function(require,module,exports){
module.exports = function(hostname) {
// Settings for geojson.io
L.mapbox.accessToken = 'pk.eyJ1IjoibWFwYm94IiwiYSI6IlpIdEpjOHcifQ.Cldl4wq_T5KOgxhLvbjE-w';
@@ -24418,7 +24436,7 @@ module.exports = function(hostname) {
};
}
};
-},{}],147:[function(require,module,exports){
+},{}],148:[function(require,module,exports){
module.exports = api;
function api(context) {
@@ -24451,7 +24469,7 @@ function api(context) {
};
}
-},{}],148:[function(require,module,exports){
+},{}],149:[function(require,module,exports){
var clone = require('clone'),
xtend = require('xtend'),
config = require('../config.js')(location.hostname),
@@ -24742,7 +24760,7 @@ module.exports = function(context) {
return data;
};
-},{"../config.js":146,"../source/gist":165,"../source/github":166,"../source/local":167,"clone":14,"xtend":145}],149:[function(require,module,exports){
+},{"../config.js":147,"../source/gist":166,"../source/github":167,"../source/local":168,"clone":14,"xtend":146}],150:[function(require,module,exports){
var qs = require('qs-hash'),
zoomextent = require('../lib/zoomextent'),
flash = require('../ui/flash');
@@ -24827,7 +24845,7 @@ module.exports = function(context) {
};
};
-},{"../lib/zoomextent":161,"../ui/flash":171,"qs-hash":52}],150:[function(require,module,exports){
+},{"../lib/zoomextent":162,"../ui/flash":172,"qs-hash":53}],151:[function(require,module,exports){
var zoomextent = require('../lib/zoomextent'),
qs = require('qs-hash');
@@ -24869,7 +24887,7 @@ module.exports = function(context) {
}
};
-},{"../lib/zoomextent":161,"qs-hash":52}],151:[function(require,module,exports){
+},{"../lib/zoomextent":162,"qs-hash":53}],152:[function(require,module,exports){
var config = require('../config.js')(location.hostname);
module.exports = function(context) {
@@ -24913,7 +24931,7 @@ module.exports = function(context) {
return repo;
};
-},{"../config.js":146}],152:[function(require,module,exports){
+},{"../config.js":147}],153:[function(require,module,exports){
var qs = require('qs-hash'),
xtend = require('xtend');
@@ -24980,7 +24998,7 @@ module.exports = function(context) {
return router;
};
-},{"qs-hash":52,"xtend":145}],153:[function(require,module,exports){
+},{"qs-hash":53,"xtend":146}],154:[function(require,module,exports){
var config = require('../config.js')(location.hostname);
module.exports = function(context) {
@@ -25068,7 +25086,7 @@ module.exports = function(context) {
return user;
};
-},{"../config.js":146}],154:[function(require,module,exports){
+},{"../config.js":147}],155:[function(require,module,exports){
var ui = require('./ui'),
map = require('./ui/map'),
data = require('./core/data'),
@@ -25103,7 +25121,7 @@ function geojsonIO() {
return context;
}
-},{"./core/api":147,"./core/data":148,"./core/loader":149,"./core/recovery":150,"./core/repo":151,"./core/router":152,"./core/user":153,"./ui":168,"./ui/map":173,"store":108}],155:[function(require,module,exports){
+},{"./core/api":148,"./core/data":149,"./core/loader":150,"./core/recovery":151,"./core/repo":152,"./core/router":153,"./core/user":154,"./ui":169,"./ui/map":174,"store":109}],156:[function(require,module,exports){
var qs = require('qs-hash');
require('leaflet-hash');
@@ -25142,13 +25160,15 @@ L.Hash.prototype.formatHash = function(map) {
return "#" + qs.qsString(query);
};
-},{"leaflet-hash":43,"qs-hash":52}],156:[function(require,module,exports){
-var geojsonRandom = require('geojson-random'),
+},{"leaflet-hash":44,"qs-hash":53}],157:[function(require,module,exports){
+var escape = require('escape-html'),
+ geojsonRandom = require('geojson-random'),
geojsonExtent = require('geojson-extent'),
geojsonFlatten = require('geojson-flatten'),
zoomextent = require('../lib/zoomextent');
-module.exports.adduserlayer = function(context, url, name) {
+module.exports.adduserlayer = function(context, _url, _name) {
+ var url = escape(_url), name = escape(_name);
var layer = L.tileLayer(url);
if (context.layerControl) {
context.map.addLayer(layer);
@@ -25183,7 +25203,7 @@ module.exports.flatten = function(context) {
context.data.set({ map: geojsonFlatten(context.data.get('map')) });
};
-},{"../lib/zoomextent":161,"geojson-extent":20,"geojson-flatten":26,"geojson-random":27}],157:[function(require,module,exports){
+},{"../lib/zoomextent":162,"escape-html":19,"geojson-extent":21,"geojson-flatten":27,"geojson-random":28}],158:[function(require,module,exports){
module.exports = function(context) {
return function(e) {
var sel = d3.select(e.popup._contentNode);
@@ -25247,7 +25267,7 @@ module.exports = function(context) {
};
};
-},{}],158:[function(require,module,exports){
+},{}],159:[function(require,module,exports){
var topojson = require('topojson'),
toGeoJSON = require('togeojson'),
csv2geojson = require('csv2geojson'),
@@ -25426,7 +25446,7 @@ function readFile(f, text, callback) {
}
}
-},{"csv2geojson":15,"osmtogeojson":45,"polytogeojson":51,"togeojson":109,"topojson":"BOmyIj"}],159:[function(require,module,exports){
+},{"csv2geojson":15,"osmtogeojson":46,"polytogeojson":52,"togeojson":110,"topojson":"BOmyIj"}],160:[function(require,module,exports){
module.exports = function(map, feature, bounds) {
var zoomLevel;
@@ -25438,7 +25458,7 @@ module.exports = function(map, feature, bounds) {
}
};
-},{}],160:[function(require,module,exports){
+},{}],161:[function(require,module,exports){
var geojsonhint = require('geojsonhint');
module.exports = function(callback) {
@@ -25499,13 +25519,13 @@ module.exports = function(callback) {
};
};
-},{"geojsonhint":30}],161:[function(require,module,exports){
+},{"geojsonhint":31}],162:[function(require,module,exports){
module.exports = function(context) {
var bounds = context.mapLayer.getBounds();
if (bounds.isValid()) context.map.fitBounds(bounds);
};
-},{}],162:[function(require,module,exports){
+},{}],163:[function(require,module,exports){
(function (Buffer){
var fs = require('fs');
var marked = require('marked');
@@ -25529,7 +25549,7 @@ module.exports = function(context) {
};
}).call(this,require("buffer").Buffer)
-},{"buffer":5,"fs":2,"marked":44}],163:[function(require,module,exports){
+},{"buffer":5,"fs":2,"marked":45}],164:[function(require,module,exports){
var validate = require('../lib/validate'),
zoomextent = require('../lib/zoomextent'),
saver = require('../ui/saver.js');
@@ -25592,7 +25612,7 @@ module.exports = function(context) {
return render;
};
-},{"../lib/validate":160,"../lib/zoomextent":161,"../ui/saver.js":177}],164:[function(require,module,exports){
+},{"../lib/validate":161,"../lib/zoomextent":162,"../ui/saver.js":178}],165:[function(require,module,exports){
var metatable = require('d3-metatable')(d3),
smartZoom = require('../lib/smartzoom.js');
@@ -25605,7 +25625,7 @@ module.exports = function(context) {
var geojson = context.data.get('map');
var props;
- if (!geojson || !geojson.geometry &&
+ if (!geojson || !geojson.geometry &&
(!geojson.features || !geojson.features.length)) {
selection
.html('')
@@ -25664,7 +25684,7 @@ module.exports = function(context) {
return render;
};
-},{"../lib/smartzoom.js":159,"d3-metatable":18}],165:[function(require,module,exports){
+},{"../lib/smartzoom.js":160,"d3-metatable":18}],166:[function(require,module,exports){
var fs = require('fs'),
tmpl = "\n\n
\n \n \n \n \n \n\n\n\n\n\n\n";
@@ -25778,7 +25798,7 @@ function loadRaw(url, context, callback) {
function onError(err) { callback(err, null); }
}
-},{"../config.js":146,"fs":2}],166:[function(require,module,exports){
+},{"../config.js":147,"fs":2}],167:[function(require,module,exports){
module.exports.save = save;
module.exports.load = load;
module.exports.loadRaw = loadRaw;
@@ -25910,7 +25930,7 @@ function shaUrl(parts, sha) {
'/git/blobs/' + sha;
}
-},{"../config.js":146}],167:[function(require,module,exports){
+},{"../config.js":147}],168:[function(require,module,exports){
try {
var fs = require('fs');
} catch(e) { }
@@ -25933,7 +25953,7 @@ function save(context, callback) {
});
}
-},{}],168:[function(require,module,exports){
+},{}],169:[function(require,module,exports){
var buttons = require('./ui/mode_buttons'),
file_bar = require('./ui/file_bar'),
dnd = require('./ui/dnd'),
@@ -26018,7 +26038,7 @@ function ui(context) {
};
}
-},{"./ui/dnd":169,"./ui/file_bar":170,"./ui/layer_switch":172,"./ui/mode_buttons":176,"./ui/user":179}],169:[function(require,module,exports){
+},{"./ui/dnd":170,"./ui/file_bar":171,"./ui/layer_switch":173,"./ui/mode_buttons":177,"./ui/user":180}],170:[function(require,module,exports){
var readDrop = require('../lib/readfile.js').readDrop,
flash = require('./flash.js'),
zoomextent = require('../lib/zoomextent');
@@ -26062,7 +26082,7 @@ module.exports = function(context) {
}
};
-},{"../lib/readfile.js":158,"../lib/zoomextent":161,"./flash.js":171}],170:[function(require,module,exports){
+},{"../lib/readfile.js":159,"../lib/zoomextent":162,"./flash.js":172}],171:[function(require,module,exports){
var shpwrite = require('shp-write'),
clone = require('clone'),
geojson2dsv = require('geojson2dsv'),
@@ -26563,7 +26583,7 @@ module.exports = function fileBar(context) {
return bar;
};
-},{"../config.js":146,"../lib/meta.js":156,"../lib/readfile":158,"../lib/zoomextent":161,"../ui/saver.js":177,"./flash":171,"./modal.js":175,"./share":178,"clone":14,"filesaver.js":19,"geojson2dsv":28,"gist-map-browser":32,"github-file-browser":34,"shp-write":53,"tokml":110,"topojson":"BOmyIj","wellknown":144}],171:[function(require,module,exports){
+},{"../config.js":147,"../lib/meta.js":157,"../lib/readfile":159,"../lib/zoomextent":162,"../ui/saver.js":178,"./flash":172,"./modal.js":176,"./share":179,"clone":14,"filesaver.js":20,"geojson2dsv":29,"gist-map-browser":33,"github-file-browser":35,"shp-write":54,"tokml":111,"topojson":"BOmyIj","wellknown":145}],172:[function(require,module,exports){
var message = require('./message');
module.exports = flash;
@@ -26585,7 +26605,7 @@ function flash(selection, txt) {
return msg;
}
-},{"./message":174}],172:[function(require,module,exports){
+},{"./message":175}],173:[function(require,module,exports){
module.exports = function(context) {
return function(selection) {
@@ -26647,17 +26667,19 @@ module.exports = function(context) {
};
-},{}],173:[function(require,module,exports){
+},{}],174:[function(require,module,exports){
+require('qs-hash');
+require('../lib/custom_hash.js');
+
var popup = require('../lib/popup'),
- customHash = require('../lib/custom_hash.js'),
- qs = require('qs-hash'),
+ escape = require('escape-html'),
LGeo = require('leaflet-geodesy'),
writable = false,
showStyle = true,
makiValues = require('../../data/maki.json'),
maki = '';
-for (i = 0; i < makiValues.length; i++) {
+for (var i = 0; i < makiValues.length; i++) {
maki += '