Bryan Housel
2fa593421f
Rename scaleExtent to zoomExtent, slightly simplify getTiles()
2018-07-22 01:15:44 -04:00
Bryan Housel
7de54a3c2b
Fix feature test - amenity=shelter no longer matches building rule
2018-06-18 13:58:49 -04:00
Bryan Housel
0efa81f1e8
Fix hover/target cursor tests
...
(re #4887 )
2018-04-18 22:40:26 -04:00
Bryan Housel
c42556ec96
When boundaries are shared with roads, consider them as roads.
...
(closes #4973 )
This is same as existing logic in the feature matching code
for the "rail" and "past_future" rules.
2018-04-09 12:59:13 -04:00
Bryan Housel
d9ebdda105
Polyfill sinh for IE11, add tests for wms replacement tokens
...
(see #4814 )
2018-03-01 22:08:39 -05:00
Bryan Housel
b3842d97f4
Remove lodash from the test suite
...
(closes #4378 )
2017-10-18 14:37:39 -04:00
Bryan Housel
5ca4246a6d
If drawing a way, don't hover on a node that was just placed
...
(closes #3974 )
2017-04-26 13:33:21 -04:00
Bryan Housel
3b54743f86
Add more d3.timerFlush to avoid false test failures (hopefully)
2017-04-24 16:15:41 -04:00
Bryan Housel
6ca4b13304
Store view transform and selectedIDs w/history, and undo/redo them
...
(closes #2204 )
2016-12-10 23:25:58 -05:00
Bryan Housel
93d50b4e87
Use live bound object for imagery array, remove context.imagery() accessor
...
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Bryan Housel
f800e5afbc
Remove unnecessary window parameter to Context
2016-11-10 15:19:03 -05:00
Bryan Housel
87950fd472
Fix lib export, flatten names in tests and docs
2016-10-04 21:56:09 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Bryan Housel
7ca6d06254
Replace iD global with iD.Context() module ( #3254 )
2016-07-19 10:15:32 -04:00
Kushan Joshi
9dcb6856ab
Remove linting errors from spec/renderer
2016-06-15 18:26:11 +05:30
Bryan Housel
bd60aceaf0
Add tile debugging, redraw when debug flags change
2016-05-19 00:43:01 -04:00
Bryan Housel
a18976b0ac
Fix flapping zoomIn/zoomOut tests, stricter closeTo tolerances
2016-05-16 11:59:19 -04:00
Bryan Housel
c4fbacd625
Rename major_roads -> traffic_roads, minor_roads -> service_roads
2016-03-05 23:58:09 -05:00
Bryan Housel
63ab1e1267
Adjust matching rules for multipolygon members ( closes #2887 )
2016-01-04 12:07:12 -05:00
Bryan Housel
74c16ac674
failing test for #2887
2015-12-31 21:02:38 -05:00
Bryan Housel
58cb66f472
Add highway=corridor and universal level field
...
For now, `highway=corridor`:
* styled like highway=pedestrian
* and matches 'paths' feature filter.
(closes #2687 , closes #2218 )
2015-06-30 22:02:22 -04:00
Olaf Veerman
89b354ddba
Allow overzoom to be set on overlays
...
The default behaviour is to overzoom overlays past their max
scaleExtent. When 'overzoom':false is defined in imagery.json,
the layer will disappear on the max scaleExtent.
2015-03-26 12:04:54 -07:00
Bryan Housel
05ff86e5c2
Prevent no-match parent relations from breaking getMatches
...
(e.g. a site relation with a fence in it)
Also, updated the test graph to contain one of these.
see https://github.com/openstreetmap/iD/pull/2554#issuecomment-78517442
2015-03-12 13:59:48 -04:00
Bryan Housel
3308b5507b
Feature Filtering: don't match multipolygon lines as 'others'
...
(fixes #2548 )
If the entity is a way that is a member of a parent relation,
use that parent relation's matches instead of matching 'other'
2015-03-10 00:06:29 -04:00
Bryan Housel
2485d74d5b
Use interpolated D3 zooming for zoomIn/zoomOut
2015-03-09 16:34:07 -04:00
Bryan Housel
ef2d6e75cf
Add minzoom check to map.zoom() ( closes #2499 )
2015-01-13 23:09:19 -05:00
Bryan Housel
dfe8fd1e90
features performance enhancements
...
1. reusue entity.geometry where possible
2. cache entity parents
2014-11-18 22:05:08 -05:00
John Firebaugh
9e9a4b3cc0
Fix tests
2014-11-11 14:32:50 -08:00
Bryan Housel
b20f1495de
restore toggle function and add test
2014-10-29 15:06:43 -04:00
Bryan Housel
927c533bb4
add feature tests for auto-hiding
2014-10-28 21:37:04 -04:00
Bryan Housel
43f1cdd3eb
decoupled graph from context for better testing
...
fixed feature matching tests for vertices and relations
2014-10-28 21:37:04 -04:00
Bryan Housel
2b260f9a6c
added tests for feature filtering
...
(some tests failing because I need to decouple graph from context)
2014-10-28 21:37:04 -04:00
Bryan Housel
6b6ca8d523
initial checkin of features unit tests
2014-10-28 21:37:04 -04:00
John Firebaugh
dd0e08b244
Write presets and imagery to standalone files
2014-10-23 15:52:29 -07:00
John Firebaugh
0b1ec49402
Rewrite as a separate layer
2014-09-19 14:51:44 -07:00
John Firebaugh
e5c1944e37
Fix tests
2013-08-27 11:46:24 -07:00
John Firebaugh
c7363623ad
Fix tests
2013-08-22 14:16:30 -07:00
John Firebaugh
0180367399
Refactor BackgroundSource
2013-08-22 12:53:57 -07:00
John Firebaugh
734d53e08b
Refactor background in preparation for multiple overlays
2013-07-15 14:05:11 -07:00
John Firebaugh
bba761d8ea
size -> dimensions
...
D3 3.2 adds selection.size, where size means "number
of selected elements".
2013-06-20 13:05:20 -07:00
John Firebaugh
5a8bf0fada
Fix tests
2013-05-28 19:50:40 -07:00
John Firebaugh
ba08ba6109
Fix tests
2013-05-13 13:07:30 -07:00
John Firebaugh
c7dedcb5ba
Fix test
2013-05-08 13:28:40 -07:00
John Firebaugh
e950042922
Fix cursors, add tests
2013-04-05 11:57:13 -07:00
Tom MacWright
53121c9842
Support JOSM style templates. Fixes #1023
2013-03-15 16:22:54 -04:00
John Firebaugh
84a4f9e5d2
Eliminate iD.layers
2013-03-06 15:51:16 -08:00
Tom MacWright
f15191af2c
Update tests
2013-02-09 18:06:35 -05:00
Tom MacWright
f70c9037b0
Fix tests, finish work here. Needs a design hit.
2013-02-05 12:52:56 -05:00
John Firebaugh
fe49e8fb77
Pass around context rather than map
2013-02-01 12:40:16 -05:00
John Firebaugh
bbccec75be
Convert Hash to a behavior
2013-01-31 18:28:24 -05:00