mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
@@ -31,7 +31,7 @@ iD.ui.preset.maxspeed = function(field, context) {
|
||||
|
||||
imperial = _.some(iD.data.imperial.features, function(f) {
|
||||
return _.some(f.geometry.coordinates, function(d) {
|
||||
return iD.geo.pointInPolygon(loc, d[0]);
|
||||
return iD.geo.pointInPolygon(loc, d);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user