Bryan Housel
c7044bec3a
Better mock for select mode, fixes false test failures
2017-08-09 11:09:08 -04:00
Bryan Housel
89013627fb
Don't consider untagged multipolygons as old multipolygons
...
Also add a lot of old-style multipolygon tests
(closes #4009 )
2017-05-04 12:16:04 -04:00
Bryan Housel
d07d20cba7
Drop custom "classed" chai assertation and just use d3
2017-04-24 10:27:29 -04:00
Bryan Housel
4903d495b7
Draw selected items last, so halos are more visible
...
(see #2914 )
2017-03-21 02:17:04 -04: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
Bryan Housel
bb942aa9b6
Add only a single defs element to surface
2016-09-09 23:20:48 -04:00
Bryan Housel
273407da3d
Fix svg layer selections, fix and add tests..
2016-09-09 14:19:13 -04:00
Tom MacWright
20962074ba
Fix vertices areas midlines
2016-09-06 10:58:07 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -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
Bryan Housel
5f496f2020
Cleanup test html, alphabetize, make sure all tests run
2016-07-14 12:59:47 -04:00
Kushan Joshi
1db442b9e8
Remove linting errors fromspec/svg
2016-06-15 18:26:11 +05:30
Bryan Housel
e22bd1eceb
Pass projection to iD.svg.Layers in tests
2016-06-10 13:06:28 -04:00
Bryan Housel
45e4e730a8
iD.svg.Surface -> iD.svg.Layers
2016-02-24 15:41:22 -05:00
Bryan Housel
f37a809001
Make point draw function more consistent with other draw functions
2016-02-22 16:52:49 -05:00
Bryan Housel
8a9accfe8d
Replace generic "tag-ephemeral" with specific "tag-status tag-status-xxx"
2015-12-01 15:31:25 -05:00
Bryan Housel
b4628298d9
Differentiate between paved/unpaved roads ( closes #2564 )
...
Now `iD.svg.TagClasses` will add the class 'tag-unpaved' for unpaved roads.
2015-11-25 15:28:37 -05:00
Bryan Housel
3853c0d993
Fix the rest of the icons (leave walkthrough graphics alone for now)
2015-11-02 20:46:08 -05:00
Bryan Housel
7a9acd84ee
Restore almost all of the rest of the icons throughout the UI
2015-10-31 01:38:39 -04:00
Bryan Housel
3af17cb011
Add iD.svg.Icon svg icon builder
2015-10-30 14:00:36 -04:00
Bryan Housel
7288806012
Add styling for ephemeral tags ( closes #2740 )
...
includes various forms of:
'proposed', 'construction', 'disused', 'abandoned', 'dismantled',
'razed', 'demolished', 'obliterated'
2015-07-28 17:18:16 -04:00
John Firebaugh
dd0e08b244
Write presets and imagery to standalone files
2014-10-23 15:52:29 -07:00
Bryan Housel
26f8849c3a
render triangular midpoints to show direction of way #1085
2014-07-16 00:30:21 -04:00
Bryan Housel
1a2b9c82f6
add tests, jshint cleanup
2014-06-16 11:49:07 -04:00
John Firebaugh
a3c7b5956d
Remove obsolete tests
2014-06-13 12:03:08 -07:00
Bryan Housel
38cb42e0bc
Add tests for line z-indexing.
2014-06-11 22:30:36 -04:00
Bryan Housel
7f35ab6125
separate svg group for areas and their related strokes/fills
...
(for consistency)
2014-06-11 13:01:27 -04:00
John Firebaugh
26422d9c9a
Show ways in restriction editor as if they were split
2014-05-18 16:02:47 -07:00
John Firebaugh
f39ae89177
Render turns of selected way
2014-05-18 16:02:47 -07:00
John Firebaugh
cdd9f8ba5f
Fix SVG parse errors in specs ( fixes #2012 )
2013-11-22 11:16:08 -08:00
John Firebaugh
14bfc52e33
Remove repetition of entity IDs in tests
...
There were several places where the key and entity id
didn't match up.
2013-10-31 15:57:47 -07:00
John Firebaugh
d6c7c1d81d
Fix tests
2013-10-21 16:24:06 -07:00
John Firebaugh
f1deed2712
Fix area sorting corner case ( fixes #1903 )
2013-10-18 10:28:01 -04:00
John Firebaugh
411db160fe
Prefer to render highway=* styles over railway=*
...
Fixes #1880
2013-10-09 14:02:55 -07:00
John Firebaugh
405a49506b
Building logic for turn restrictions
2013-08-30 14:23:05 -07:00
John Firebaugh
30f68c4ef9
Insert areas in sorted order
...
Fixes #1693
2013-08-26 15:27:57 -07:00
John Firebaugh
a84a3364cc
selection -> selectedIDs
...
Overloading "selection" is a bad idea.
2013-06-03 15:48:03 -07:00
John Firebaugh
ee4ec4e252
Fix tests
2013-05-22 17:36:41 -07:00
John Firebaugh
bd2c7ba756
Render bridge casing for bridge=viaduct, etc.
...
Fixes #1500 .
2013-05-20 16:49:55 -07:00
John Firebaugh
67d95595ba
Points always need full re-render ( #569 )
2013-05-20 12:05:31 -07:00
John Firebaugh
6431fca8a3
Fix area caching ( fixes #1485 )
2013-05-14 16:52:02 -07:00
John Firebaugh
878a4c0074
Don't need member tags for area strokes
...
Member tags are for multipolygon members, and multipolygon
member strokes are rendered by iD.svg.Lines.
2013-05-13 21:45:26 -07:00
John Firebaugh
9495f8f1c0
Optimize area rendering
...
Use iD.svg.Path for caching, and teach iD.svg.Path to
round coordinates.
2013-05-13 17:48:18 -07:00
John Firebaugh
fd1573fa08
Abandon iD.svg.MemberClasses
...
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
70e5411114
Optimize vertex rendering
...
* Cache icon
* Append rather than insert
* Do fewer things on update
* Don't create a fill unless needed
* Don't apply tag and member classes (never used)
* Drop down to raw setAttribute (d3 is slow :trollface:)
2013-05-13 09:37:48 -07:00
John Firebaugh
6941d1914b
Perfect oneway markers
2013-04-26 17:33:01 -07:00
John Firebaugh
78aee5b6aa
Fix tests
2013-04-23 20:09:36 -07:00
John Firebaugh
77ce20c8c1
Add configurable image path
2013-04-16 17:20:21 -07:00