Skip to content

Commit dba8d47

Browse files
committed
Merge tag '2.22.1' into develop
2.22.1
2 parents 1186c13 + 9ec437c commit dba8d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentreemap/treemap/js/src/lib/otmTypeahead.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ var create = exports.create = function(options) {
189189
if (options.geocoderBbox) {
190190
// wkid 102100 == webmercator
191191
var searchExtent = _.extend({spatialReference:{wkid:102100}}, options.geocoderBbox);
192-
settings.url += '&searchExtent=' + JSON.stringify(searchExtent);
192+
settings.url += '&searchExtent=' + encodeURI(JSON.stringify(searchExtent));
193193
}
194194

195195
settings = _.extend({crossDomain: true}, settings);

0 commit comments

Comments
 (0)