John Firebaugh
14b79d068e
Merge branch 'perfect-resampling'
...
Conflicts:
js/id/renderer/map.js
2013-04-26 17:35:04 -07:00
John Firebaugh
6941d1914b
Perfect oneway markers
2013-04-26 17:33:01 -07:00
John Firebaugh
3bdaab0bb3
Fix dragging a node to another node
2013-04-26 12:28:25 -07:00
John Firebaugh
0a293c3ae9
Focus search after going back to preset grid ( fixes #1386 )
2013-04-26 11:48:25 -07:00
John Firebaugh
24ecf2a697
Don't show radial menu after dragging node ( fixes #1385 )
2013-04-26 11:45:01 -07:00
John Firebaugh
e5dd800aff
Allow selecting a relation
2013-04-26 11:34:24 -07:00
Ansis Brammanis
a147496cc7
No dangler prevention for areas
...
They don't need it -- they already can't be self-intersected.
2013-04-26 13:14:07 -04:00
Ansis Brammanis
6c6a312c62
fix dangler avoidance for areas
2013-04-25 19:25:43 -04:00
Ansis Brammanis
e8e6d67589
switch out of intro when showing "start editing"
...
so that the user is not stuck in the walkthrough
if he clicks on the shaded area to close the modal
2013-04-25 18:55:33 -04:00
John Firebaugh
86988a09a3
Fix vertex rendering
2013-04-25 15:43:16 -07:00
Ansis Brammanis
4eccd7015f
corner destroying resampling for oneway markers
2013-04-25 18:41:49 -04:00
John Firebaugh
4e50f39f7f
Avoid large layout/repaints while drawing
2013-04-25 14:10:50 -07:00
John Firebaugh
7d66e03c0b
Redraw hovered vertices more efficiently ( #1377 )
2013-04-25 13:53:31 -07:00
Ansis Brammanis
bd38a19fed
avoid trying to modify frozen tag object
...
fixes #1380
2013-04-25 15:35:38 -04:00
John Firebaugh
f1d32dd65e
Fix Uncaught TypeError: Cannot call method 'getAttribute' of undefined
...
https://app.getsentry.com/id/id/group/5151824/
2013-04-25 12:16:32 -07:00
John Firebaugh
fdd49233b1
Avoid recomputing geometry in an inner loop
2013-04-25 11:27:53 -07:00
Ansis Brammanis
b95529d5ec
prevent way danglers, issue #1373
2013-04-25 11:48:03 -04:00
Ansis Brammanis
4e305ea773
don't permalink negative IDs ( fixes #1374 )
2013-04-25 11:16:56 -04:00
Ansis Brammanis
579e6a8a8b
geolocation sets zoom based on accuracy
...
fixes #1375
2013-04-25 11:04:22 -04:00
Ansis Brammanis
2fa8ca174f
add test case for stale tree bug, a0e8292
2013-04-24 19:41:23 -04:00
Ansis Brammanis
a0e8292067
fix tree bug where removes would fail
...
the width or height of the rtree rectangle created by extentRectangle
would be negative. These rectangles insert ok, and are found by search,
but they cannot be removed.
issue #1370
2013-04-24 19:27:43 -04:00
John Firebaugh
53a9c23835
Set initial state of "Zoom in to Edit" ( fixes #1372 )
2013-04-24 12:39:22 -07:00
John Firebaugh
275696caaa
Fix icons for lines that use maki ( fixes #1371 )
...
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
965cfc65e8
Show vertices of way being drawn ( fixes #1367 )
2013-04-24 10:24:35 -07:00
John Firebaugh
c50c3121d8
Make Graph#entity strict
...
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh
78aee5b6aa
Fix tests
2013-04-23 20:09:36 -07:00
John Firebaugh
7445b554e8
Fix Uncaught TypeError: Cannot read property 'length' of null
...
https://app.getsentry.com/id/id/group/5208581/
2013-04-23 19:38:42 -07:00
Ansis Brammanis
01238a49db
select parentway(s) after dragging node
...
fixes #1368
2013-04-23 21:10:15 -04:00
John Firebaugh
1d5b13c45d
Don't draw when not editable
2013-04-23 17:52:09 -07:00
John Firebaugh
d31fa9ae70
Don't redraw vertices during pan/zoom transform
2013-04-23 17:31:53 -07:00
John Firebaugh
265c059407
Always display intersections
2013-04-23 17:31:32 -07:00
John Firebaugh
d0e53a7070
Fix child calculation
2013-04-23 16:52:33 -07:00
John Firebaugh
a2f86154ce
Also show vertices on hover in draw modes
2013-04-23 16:52:32 -07:00
John Firebaugh
66551ba903
Show vertices only for selected way ( #1022 )
2013-04-23 16:52:02 -07:00
John Firebaugh
69868bfd22
Keep generic amenity preset choice ( fixes #1354 )
2013-04-23 16:43:59 -07:00
John Firebaugh
5ea93539ad
Update d3 to 3.1.5
2013-04-23 15:03:00 -07:00
John Firebaugh
e0d6337a1e
End zoom if somehow we miss the mouseup ( #1326 )
2013-04-23 15:00:45 -07:00
John Firebaugh
2d62a78ac9
Semicolons
2013-04-23 14:31:24 -07:00
John Firebaugh
29e5bf1f2f
Hack an icon for name add button ( #1300 )
2013-04-23 14:22:10 -07:00
John Firebaugh
16c1e9d7e5
Show all tags ( fixes #1181 )
2013-04-23 14:13:03 -07:00
John Firebaugh
19e21e1d26
Modify window.focus canary
...
I suspect whatever is doing the modification is swallowing
exceptions.
2013-04-23 13:45:10 -07:00
John Firebaugh
781f540b3c
Add diagnostic for common sentry errors
2013-04-23 11:29:00 -07:00
John Firebaugh
d8751fad8d
Polish spriting code
...
* Smaller make-sprite.json.
* Convert operation sprite data to JSON, eliminating
fragile stylesheet grepping.
2013-04-23 09:45:37 -07:00
Ansis Brammanis
1021850300
float the description image right
...
issue #1353
2013-04-23 12:44:31 -04:00
Ansis Brammanis
cc8e9a37ca
add building field to amenity presets
2013-04-23 12:28:15 -04:00
Ansis Brammanis
34f1a21631
add building_yes field to all shops
2013-04-23 11:54:13 -04:00
John Firebaugh
5f7409616f
Close up space in map controls when embedded ( #1329 )
2013-04-22 15:34:04 -07:00
John Firebaugh
e0892eb1b7
Don't request locales we don't have; use fallback locales
2013-04-22 14:55:30 -07:00
John Firebaugh
61802674a4
Don't need keys in dist build
2013-04-22 14:45:54 -07:00
John Firebaugh
d66760326b
Load translations on demand ( fixes #1337 )
2013-04-22 14:29:43 -07:00