Skip to content

Commit

Permalink
maxAllowedOffset (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld committed Jul 23, 2017
1 parent f0c206b commit 1697e04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/svg/geoservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,9 @@ export function svgGeoService(projection, context, dispatch) {
if (url.indexOf('&f=') === -1) {
url += '&f=json';
}
if (url.indexOf('maxAllowableOffset') === -1) {
url += '&maxAllowableOffset=0.000005';
}

// turn iD Editor bounds into a query
var bounds = context.map().trimmedExtent().bbox();
Expand Down

0 comments on commit 1697e04

Please sign in to comment.