Quincy Morgan
fac613e1dc
Remove context.childNodes function
2020-03-21 13:56:11 -07:00
Quincy Morgan
5fd25601fe
Convert map surface and supersurface from ids to classes
2020-03-21 13:41:06 -07:00
Quincy Morgan
4872b06a28
Randomize form field ids to thwart browser memory and help with embedding iD ( close #6444 )
2020-03-21 13:16:40 -07:00
Quincy Morgan
f2a687f68b
Convert container from id to class
2020-03-20 15:08:56 -07:00
Quincy Morgan
371bac0aa2
Convert photoviewer from id to class
2020-03-20 14:07:09 -07:00
Quincy Morgan
c893147e15
Convert some element ids to classes to avoid collisions when embedding iD
2020-03-20 13:53:17 -07:00
Quincy Morgan
f625406ccc
Convert some element ids to classes to avoid collisions when embedding iD
...
Clarify some footer class names
2020-03-20 13:43:07 -07:00
Quincy Morgan
152d89fa22
Convert some element ids to classes to avoid collisions when embedding iD
2020-03-20 13:10:39 -07:00
Quincy Morgan
72a99673a0
Revert #7428
2020-03-20 09:59:30 -07:00
SilentSpike
6a58dabf42
Update Osmose API path
...
Should only change one more time after this (coming out of beta).
2020-03-19 21:05:44 +00:00
SilentSpike
81b2a2cd2a
Update Osmose detail string access
...
Now supports localisation, which returns slightly different structure.
2020-03-17 12:40:38 +00:00
Quincy Morgan
1041f89716
Fix line continuing
2020-03-16 13:43:24 -07:00
Bryan Housel
47aaec0db6
Sanitize personal tokens from custom background imagery
...
(closes #6801 )
2020-03-14 10:30:46 -04:00
Quincy Morgan
7adaa2f753
Merge branch '2.x' into issue#7297
2020-03-13 14:13:44 -07:00
Quincy Morgan
c16e03b9b3
Merge pull request #7428 from openstreetmap/imagery_index
...
Imagery index
2020-03-13 13:50:46 -07:00
Bryan Housel
2805c55ff3
Update the custom background instructions pane to include wms
2020-03-13 16:43:04 -04:00
Quincy Morgan
9eb694faec
Remove radial menu
2020-03-13 13:29:46 -07:00
Quincy Morgan
dd9c30beb1
Use pointer events instead of mouse events for lasso selection (re: #5505 )
2020-03-13 13:23:06 -07:00
Bryan Housel
2a28a03ca1
Add template type detection for custom sources
...
(closes #4977 )
Before custom sources were assumed tms, now we detect wms
and guess 'EPSG:3857' projection
This commit also delays selecting the custom source in background_list.js,
because creating the background sources is promisified now might not happen
until after the UI control is created
2020-03-13 15:56:13 -04:00
Quincy Morgan
de1bfe624f
Replace mouse and touch events with pointer events in popover.js (re: #5505 )
2020-03-13 12:34:06 -07:00
Bryan Housel
5db95d8a89
Fix source filtering for 'custom' and 'none'
2020-03-13 14:57:40 -04:00
Bryan Housel
bdd02e5943
Fix source filtering at low zooms to include global sources
2020-03-13 12:43:11 -04:00
Quincy Morgan
19bdabd889
Don't disable default hyperlinking
2020-03-12 20:31:15 -07:00
Bryan Housel
1aa5e89a38
Support {apikey} token replacement
2020-03-12 17:15:42 -04:00
Bryan Housel
50353cf596
Switch references from editor-layer-index -> imagery-index
...
- remove the update_imagery script and steps to run it
(this happens at runtime now)
- update privacy policy, faq, release notes, readme
2020-03-12 15:25:56 -04:00
Bryan Housel
dbe643aeac
Switch from bundled editor-layer-index to fetched imagery-index
2020-03-12 14:27:49 -04:00
Quincy Morgan
b5856e2415
Rewrite behaviorDrawWay to only always use one and only one temporary edit
...
Fix issues involving undoing while drawing ways
Prevent self-intersection when adding nodes to ways on touch devices (close #7423 )
2020-03-11 17:48:09 -07:00
Quincy Morgan
b86486c69f
Flash error when cannot finish drawing self-intersecting area
2020-03-10 15:36:13 -07:00
Quincy Morgan
d82936ff24
Fix issue where labels could not be clicked to change or focus inputs
2020-03-10 13:39:22 -07:00
Quincy Morgan
70380880db
Properly end the gesture if unexpectedly moving a non-down pointer
2020-03-10 12:17:25 -07:00
Quincy Morgan
284ff28961
Fix issue where map could pan when moving the mouse without a down pointer
2020-03-10 11:52:48 -07:00
Quincy Morgan
73d68b7a65
Fix issue where browsers could page back or forward when swiping horizontally over the map with a trackpad ( close #5552 )
2020-03-10 11:15:15 -07:00
Quincy Morgan
8dcb50579f
Replace D3 import of trivial function
2020-03-10 10:48:27 -07:00
Quincy Morgan
5d8600ff36
Remove unused zoom/pan functionality
2020-03-10 10:34:25 -07:00
Quincy Morgan
207badb1a0
Read object visible state when parsing JSON API response (re: #7188 )
2020-03-10 09:35:33 -07:00
Quincy Morgan
41e58dc32e
Fix issue where vertices wouldn't always disappear on deselection ( close #7419 )
2020-03-09 15:58:24 -07:00
Quincy Morgan
ece7eb0850
Add self-intersection error message when dragging vertices
2020-03-09 14:52:17 -07:00
Quincy Morgan
a4e8c95009
Prevent double-tap-to-zoom browser on mobile Safari ( close #6049 )
...
Limit scope of gesture event cancelation to iD's container
2020-03-09 13:16:13 -07:00
Quincy Morgan
d6b723b869
Remove unused zoom/pan handler property
2020-03-09 13:12:55 -07:00
Quincy Morgan
10f7ef2704
Add error feedback text when attempting to draw self-intersecting ways
2020-03-06 15:36:48 -08:00
Quincy Morgan
6ed66fb3ce
Make drawing modes usable on touch devices
2020-03-06 15:17:11 -08:00
Quincy Morgan
f8f69a777a
Replace inconsistently-supported dblclick events with custom handler on platforms supporting pointer events
...
Fix issue where double-tap-to-zoom would not be properly disabled when drawing on touch devices (close #2128 )
Support adding nodes to ways with double-tap with on touch devices (close #2677 )
Support double-tap-to-zoom with styluses on touch devices
Don't accept double click/tap events if the taps are far apart
Don't re-enter modeSelect when clicking the selected feature again
2020-03-06 12:46:26 -08:00
Quincy Morgan
83a51a4192
Use pointer events for node dragging and drawing (re: #5505 )
...
Enable dragging nodes with touches and styluses (close #7415 )
2020-03-05 15:18:39 -08:00
Quincy Morgan
1147438d12
Use pointer events for map zooming and panning where supported ( close #6598 , re: #5505 )
2020-03-05 10:38:30 -08:00
Quincy Morgan
83d2656bbc
Fix responsiveness issue when selecting features on iPad
...
Implement an alternative solution for #6028 that doesn't rely on timeouts
2020-03-04 13:10:15 -08:00
Quincy Morgan
c41e0b9937
Use pointer events for hovering and selecting data on supported platforms (re: #5505 )
...
Fix issue where Apple Pencil stylus could not select map data (close #7396 )
Fix issue where features could not be selected in a single tap on iPad (close #7380 )
2020-03-04 12:18:43 -08:00
Quincy Morgan
dcbb5ee03b
Always show the unresolved issue count in the footer if any exist
2020-03-03 10:13:35 -08:00
Quincy Morgan
5e8d84ec33
Fix eslint warning
2020-03-02 15:58:30 -08:00
Quincy Morgan
52222df75f
Switch to JSON endpoints of OSM API for fetching entities (re: #3765 )
2020-03-02 15:54:46 -08:00
Quincy Morgan
f4c39cc434
Don't require translations or uiFlash in rendererMap
2020-03-02 14:59:11 -08:00