Commit Graph

2974 Commits

Author SHA1 Message Date
Bryan Housel
1df54a700a Disable circularize and orthogonalize operations when way is <80% contained in the viewport 2014-03-27 22:47:34 -04:00
John Firebaugh
d6fa8c1e26 Support quartile scheme for any imagery source (fixes #2112) 2014-03-21 17:43:54 -07:00
John Firebaugh
b51e5366cc Zoom to GPX after adding (#2144) 2014-03-21 17:34:46 -07:00
John Firebaugh
cefa1d96f1 Correctly update UI after choosing GPX file (#2144) 2014-03-21 17:34:34 -07:00
Bryan Housel
9fade58d85 add picnic area stuff: firepit, picnic_table, bbq 2014-03-19 17:33:28 -04:00
Bryan Housel
ea58b6d89c add 35 as an option in the maxspeed dropdown.. 2014-03-19 15:26:33 -04:00
John Firebaugh
8e96752039 barrier=fence shouldn't be an area (fixes #2158) 2014-03-16 22:05:18 -07:00
John Firebaugh
33242db40c 1.3.7 2014-02-25 16:01:56 -08:00
AndrewHain
c9709e9207 remove addr:housename from presets
The [values](http://taginfo.openstreetmap.org/keys/addr%3Ahousename#values) of this rarely needed tag, which is prominent in the address presets, now have a lot of numbers and descriptive words in many different languages. Removing the preset means that new editors won’t fill this key with information useless to the key but can still add it through All tags if needed.  A similar thing happened when Potlatch put the designation tag into presets. Goes towards #1427 and #2124.
2014-02-25 15:55:05 -08:00
John Firebaugh
f6b7acf9ed Remove conditional that's always true
The base graph never has any ownProperty entities.
2014-02-25 10:03:48 -08:00
tyr
efd3223e0c extend history loading fix to deletions
Deleted objects need to be kept in the base of the history stack, too.

This also improves the respective unit tests.
2014-02-22 14:09:17 +01:00
tyr
fc0a15e6c4 fix duplicate objects after restoring data from localStorage
This makes sure that the originals of changed entities get merged
into the base of the stack after restoring the data from JSON.
This is necessary, because the stack will only have elements for
the current viewport after a restart and previously *modified*
objects will now be falsely detected as *created* ones.

Also removed some ineffective code.
2014-02-21 10:01:26 +01:00
John Firebaugh
69960d75bd Use https where supported
Refs #2129
2014-02-19 09:40:22 -08:00
John Firebaugh
327af5176b Fix jshint 2014-02-09 18:48:52 -08:00
John Firebaugh
173108ae46 Style adjustments 2014-02-09 18:45:31 -08:00
tyr
90fd8b6e51 disable merge operation if at least one relation is incomplete
Incomplete multipolygons were harmed in the merge operation (which
relies on completely loaded relations to determine inner/outer
status for example).

This disables the operation and adds an appropriate tooltip.
2014-02-09 18:41:31 +01:00
tyr
422f76be77 merge-polygons: do not merge tags from all possible members
previously when merging polygons, all tags from all involved
members were merged into the resulting multipolygon. This includes
existing inner members with different tags or outer members that
are not directly involved in the merge operations.

Example: A forest (landuse=forest) containing some clearings
(landuse=meadow), whose outline is in part a river (waterway=river)
is merged with a new untagged area. The resulting multipolygon
would have falsely been tagged: landuse=forest;meadow + waterway=river
2014-02-09 17:53:55 +01:00
John Firebaugh
6c82b1beda 1.3.6 2014-02-05 10:07:52 -08:00
Paul Mach
4078d353b2 Bump threshold for Orthogonalize to 12 degrees 2014-01-16 12:06:54 -08:00
tyr
bde045d30c allow the rotate operation also for closed multipolygon members
closes #1718
2014-01-15 10:50:49 -08:00
tyr
b71c98cfca protect against relation loops, part 2. fixes #2096 2014-01-10 11:12:10 +01:00
John Firebaugh
949280b736 1.3.5 2014-01-08 17:59:26 -08:00
John Firebaugh
1561c366be Update OSM.org links 2014-01-08 16:29:00 -08:00
John Firebaugh
ab8a4ffd7b Update GitHub links 2014-01-08 16:14:28 -08:00
John Firebaugh
e59d24ed3e Merge pull request #2089 from mourner/better-hover
Better hover experience
2014-01-08 13:26:56 -08:00
Vladimir Agafonkin
fc92f34eab dry up code for CSS transforms 2014-01-08 19:55:27 +02:00
Vladimir Agafonkin
92e9b0cbbb throttle hover for less epileptic experience and better perf
Otherwise the sidebar flashes so fast that it makes no sense while
distracting the user and lagging due to heavy sidebar construction.
2014-01-08 19:32:31 +02:00
Vladimir Agafonkin
1ca0282c99 avoid excessive tooltip show/hide with mouseenter/leave 2014-01-08 19:32:31 +02:00
Vladimir Agafonkin
5aba78fd15 fix data flash when panning, close #2082
Layers that get opacity should be HW-composited like supersurface,
otherwise it flickers when panning. Should in theory improve
performance as well.
2014-01-08 18:24:22 +02:00
John Firebaugh
089924ac38 Remove unused variable 2014-01-06 16:26:55 -08:00
John Firebaugh
4bf21cbc8a Restore deleted nodes that are discovered to have extant parents
This bug has existed since 1.0!

Fixes #2085
2014-01-06 16:23:15 -08:00
John Firebaugh
354ef9df44 Clock preset 2014-01-03 13:31:02 -08:00
John Firebaugh
3e2968310b Ensure "New Relation..." is always available (fixes #2066) 2014-01-03 13:00:36 -08:00
John Firebaugh
a6a6cd77f9 Placate jshint 2014-01-03 12:51:33 -08:00
John Firebaugh
d381812f96 Add area=yes when necessary
Example: highway=pedestrian areas.

Fixes #2069
2014-01-03 12:46:50 -08:00
John Firebaugh
5f8c02fddc Suppress radial menu when clicking warning (fixes #2035) 2014-01-02 17:47:55 -08:00
John Firebaugh
7bbca76a20 Protect against relation loops (fixes #2072) 2014-01-02 17:42:57 -08:00
John Firebaugh
4ce9bedb9c Correct arrow direction on drawn segment (fixes #2078) 2014-01-02 17:36:23 -08:00
John Firebaugh
532612a261 Don't let mouseover trigger during fade out 2014-01-02 16:08:44 -08:00
tyr
a8184afff2 fix geocode result classifications
use nominatim's "class" property instead of "type" for result
classifications when "type" is "yes". Happens for "bridge"s,
"tunnel"s, etc.
2014-01-02 16:21:54 -05:00
Aaron Lidman
383023f4c1 Don't upload tags with empty values 2014-01-02 15:03:21 -05:00
John Firebaugh
e1ad10a46d Merge pull request #2056 from cschwarz/search-improvements
Adds support for ids and locations as search input
2013-12-15 11:55:41 -08:00
MaltaProject
f1cceceec7 Added craft presets 2013-12-13 16:07:31 -04:00
Christian Schwarz
aa3563c4c1 Added selection support for ids and locations with return key 2013-12-13 11:08:25 +01:00
Christian Schwarz
8eeb47d1a6 Fixed mouseover if item is a location result 2013-12-13 11:05:58 +01:00
Christian Schwarz
5aede6f323 Added support for ids and locations as search input
e.g.:
n123
w456
r789
48.123 16.456
2013-12-12 21:02:46 +01:00
John Firebaugh
fcf9fecea9 Merge pull request #2052 from asolove/sort-relations
Sort relation suggestions most recent first
2013-12-11 06:45:55 -08:00
John Firebaugh
dafe974ed0 Merge pull request #2051 from asolove/1934-safari-combobox
Fix for Safari selection bug in combo box
2013-12-11 06:40:36 -08:00
Adam Solove
2213b072dd Clean up and test relation sorting code. 2013-12-10 22:39:37 -05:00
Adam Solove
d768c14170 Sort relation suggestions most recent first. 2013-12-10 20:45:41 -05:00