We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1186c13 + 9ec437c commit dba8d47Copy full SHA for dba8d47
opentreemap/treemap/js/src/lib/otmTypeahead.js
@@ -189,7 +189,7 @@ var create = exports.create = function(options) {
189
if (options.geocoderBbox) {
190
// wkid 102100 == webmercator
191
var searchExtent = _.extend({spatialReference:{wkid:102100}}, options.geocoderBbox);
192
- settings.url += '&searchExtent=' + JSON.stringify(searchExtent);
+ settings.url += '&searchExtent=' + encodeURI(JSON.stringify(searchExtent));
193
}
194
195
settings = _.extend({crossDomain: true}, settings);
0 commit comments