John Firebaugh
a7bc5d367b
Fix area drawing
2013-05-13 10:29:31 -07:00
John Firebaugh
9fafd6b56a
Don't use :active pseudo-class
...
It's slow (500 ms recalculate style vs 1ms).
2013-05-13 09:49:29 -07:00
John Firebaugh
feed896baa
Remove unnecessary pseudo-selector
...
This was causing a hugely expensive style recalculation
on map mouseover/exit.
2013-05-13 09:49:18 -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
6060e886cb
Reduce calls to iD.svg.TagClasses
...
For fills and shadows, style changes can happen only when
a new version of the feature is produced. If we include a
version number in the key, we need only call TagClasses on
the enter selection.
We cannot apply the same optimization for strokes, since
stroke style can depend on the tags of parent relations
as well.
2013-05-13 09:37:48 -07:00
John Firebaugh
63321b7bec
Clean up and simplify iD.svg.Areas
2013-05-13 09:37:00 -07:00
John Firebaugh
1823f2619f
Clean up and simplify iD.svg.Lines
2013-05-13 09:37:00 -07:00
John Firebaugh
0ae54abdcc
Extract iD.actions.DiscardTags
2013-05-13 09:26:41 -07:00
John Firebaugh
a53d5cbb44
Optimize label hover
...
Add entity IDs to the element class list, so that specific
elements can be selected by ID rather than needing `filter`.
2013-05-12 11:47:48 -07:00
John Firebaugh
578224bd63
Optimize hover behavior
...
Add entity IDs to the element class list, so that specific
elements can be selected by ID rather than needing `filter`.
2013-05-12 09:40:34 -07:00
John Firebaugh
2c631c6a0f
Remove unused
2013-05-12 09:40:34 -07:00
John Firebaugh
c829cbb463
Cleanup
2013-05-11 13:13:06 -07:00
John Firebaugh
228dfbe993
Add URL flag for translate3d
2013-05-10 17:43:53 -07:00
John Firebaugh
98e39d8b44
Bump other version
2013-05-10 11:41:40 -07:00
John Firebaugh
e2cbee8f8e
Release checklist
2013-05-10 11:41:22 -07:00
John Firebaugh
ec12d2100c
Bump version
2013-05-10 11:17:32 -07:00
John Firebaugh
72bcd94815
Force a positive-length path for menu background ( fixes #1305 )
2013-05-09 22:06:35 -07:00
John Firebaugh
1641f38632
Use context.mouse()
2013-05-09 21:55:05 -07:00
John Firebaugh
bb487ba0ee
Use fastMouse
2013-05-09 21:55:05 -07:00
Tom MacWright
0d7422acfa
Add changelog
2013-05-09 20:57:09 -04:00
John Firebaugh
bbd7767535
Update translations
2013-05-09 16:15:55 -07:00
John Firebaugh
fdc2b9dec6
Add some validation for #1423
2013-05-09 16:13:24 -07:00
John Firebaugh
974c2eddf5
Add terms for playground
...
This ensures that all languages can provide alternate
term translations, which may help with #1423 .
2013-05-09 16:12:46 -07:00
John Firebaugh
1b72bba425
Workaround Opera SVG event dispatch bug
...
Opera will not dispatch mouse events to an absolutely
positioned SVG element:
http://bl.ocks.org/jfirebaugh/6fbfbd922552bf776c16
We need layers to be absolutely positioned in order to
obtain the correct positioning and z-order simultaneously.
Therefore we must wrap the SVG in a div and absolutely
position that instead.
Fixes #1416 .
2013-05-09 14:50:51 -07:00
John Firebaugh
96c7f9b942
Workaround Opera vertical resize bug
2013-05-09 10:17:31 -07:00
John Firebaugh
c0d9a03ea6
Document master/release depoyments
2013-05-09 09:49:43 -07:00
Tom MacWright
e434cab107
Basic tests for padByMeters
2013-05-09 12:25:38 -04:00
John Firebaugh
23d70230fc
Update maki ( fixes #1429 )
2013-05-08 17:39:35 -07:00
John Firebaugh
c7dedcb5ba
Fix test
2013-05-08 13:28:40 -07:00
John Firebaugh
79ae9346e7
Simplify layer structure
...
Also, always give SVG elements an explicit size -- seems
to be necessary for Firefox to render them correctly.
Fixes #1436 .
2013-05-08 13:10:55 -07:00
John Firebaugh
499aa6fb7c
Language tags use dash separator ( fixes #1434 )
2013-05-08 12:02:33 -07:00
John Firebaugh
8454754d25
Fix gpx layer display ( fixes #1436 )
2013-05-08 11:48:36 -07:00
Tom MacWright
b73028029e
Remember background opacity setting. Fixes #967
2013-05-08 11:45:26 -04:00
Ansis Brammanis
58a038b553
fix textarea field
2013-05-08 11:00:45 -04:00
Tom MacWright
76312fb51a
Fix #1443 geocode result style
2013-05-08 10:47:04 -04:00
Tom MacWright
d0f5fc4637
Bump osm-auth to 0.2.1 with ohauth update
2013-05-08 10:42:26 -04:00
Tom MacWright
c799876042
Merge branch 'master' of github.com:systemed/iD
2013-05-08 10:33:32 -04:00
Tom MacWright
9a75ce95d4
Simplify conditional comment and reinstate.
2013-05-08 10:31:29 -04:00
Tom MacWright
70e8ce6c3a
Merge pull request #1441 from tyrasd/patch-1
...
use fill:none instead of fill:transparent
2013-05-08 07:16:37 -07:00
Martin Raifer
a9dbd277c5
use fill:none instead of fill:transparent
...
`transparent` is not a valid [svg](http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint ) [color](http://www.w3.org/TR/SVG/types.html#DataTypeColor ). Use `none` instead.
2013-05-08 17:15:19 +03:00
Tom MacWright
ddd817a16c
Hate conditional comments
2013-05-08 10:14:16 -04:00
Tom MacWright
1c7d0ebc66
Make conditional comment for IE stricter
2013-05-08 10:05:04 -04:00
Tom MacWright
9ef274a268
Revert last commit, hides features on pan
2013-05-08 09:43:49 -04:00
Tom MacWright
2871e74e3d
Specify that layers have width and height. Fixes #1436 /cc @jfirebaugh
2013-05-08 09:39:17 -04:00
Tom MacWright
d585fb1ceb
Test another corner case in geo
2013-05-08 09:12:16 -04:00
Tom MacWright
cadd50a7d5
Test iD.util.editDistance
2013-05-08 09:09:42 -04:00
John Firebaugh
09c7a7833c
Fix #1433
2013-05-07 19:25:18 -07:00
John Firebaugh
2dcd556864
Fix help text ( fixes #1432 )
2013-05-07 18:45:03 -07:00
John Firebaugh
08949d2fe9
Redo iD.geo.chooseIndex
...
It now calculates proper orthogonal projections and finds
the minimal one. Rename it iD.geo.chooseEdge and minimize
its coupling to context.
This version also copes with 0- and 1-node ways.
Fixes #1428 .
2013-05-07 18:35:45 -07:00
John Firebaugh
6f3f756fd2
Build
2013-05-07 17:08:28 -07:00