Commit Graph

3384 Commits

Author SHA1 Message Date
John Firebaugh 786c2ab540 Cache transform status 2013-05-01 09:44:49 -07:00
Ansis Brammanis 3995e6e8bd add more aeroway presets 2013-05-01 12:37:24 -04:00
Ansis Brammanis 5ded5fca4e added support for oneway=1 and oneway=-1
fixes #1400
2013-05-01 11:10:02 -04:00
Ansis Brammanis 823d28339c add styles of schools, universities, pitches
fixes #1389
2013-04-30 15:56:04 -04:00
John Firebaugh bcbd85e9d2 Fix icon on tag editor page 2013-04-29 15:43:10 -07:00
John Firebaugh 31b3f2887a Merge branch 'preset-list' 2013-04-29 14:50:54 -07:00
John Firebaugh 13d7144298 Remove preset list limit, fix insertBox 2013-04-29 14:48:25 -07:00
John Firebaugh 57d6c48fa5 Fixing rendering test, partially 2013-04-29 13:14:33 -07:00
John Firebaugh 7f3d0c94c7 detectedLocale can be undefined 2013-04-29 13:13:15 -07:00
Ansis Brammanis 42721f6f44 don't remove oneways during partial redraws
fixes #1394
2013-04-29 10:54:04 -04:00
John Firebaugh b492af6f15 Add specific highway=service presets 2013-04-28 12:16:42 -07:00
Tom MacWright 133f0bf06d Tweak sprite 2013-04-27 16:24:31 -05:00
Tom MacWright 2e7677ded0 Add share on facebook button. Fixes #1342 2013-04-27 16:21:33 -05:00
John Firebaugh 464b387040 Bail out of translate3d in Opera 2013-04-26 17:46:19 -07:00
John Firebaugh 99fe5f615d Use translate3d 2013-04-26 17:40:45 -07:00
John Firebaugh 62e53fc98b Transform supersurface on pan/zoom 2013-04-26 17:40:45 -07:00
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
Ansis Brammanis c02bafac2e fix display of preset description 2013-04-26 15:35:27 -04: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 2355dc228d switch from preset grid to preset list
issue #1225
2013-04-26 12:17:16 -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