Bryan Housel
bafd763e19
Add a trailing space to the custom imagery url
...
(closes #7207 )
2020-01-06 22:42:43 -05:00
Quincy Morgan
827c8034d5
Enable zoom-to-center of multiple selected entities ( close #6696 )
2019-12-13 10:30:00 -05:00
Quincy Morgan
912151ff38
Allow viewing and editing the tags/relations of selected features at any zoom level in 2.x (re: #5001 )
2019-12-12 16:54:16 -05:00
Quincy Morgan
9d936b4aea
Rename rendererMap.editable function to more precise rendererMap.editableDataEnabled
...
Make coreContext.editable function also account for whether user is in modeSave
2019-12-12 16:06:28 -05:00
Quincy Morgan
80a4cec8dd
Manually force background tile images to display at their expected size ( close #7070 )
2019-12-02 12:38:55 -05:00
Quincy Morgan
b5a5dfc34a
Don't list non-global imagery sources at low zooms ( close #7062 )
...
Always show the currently selected background in the list (close #7061 )
2019-11-22 12:14:20 -05:00
Quincy Morgan
c2a49f4e02
Disallow zooming past the min/max zoom bounds via scrolling or pinch-to-zoom ( close #6851 )
2019-09-19 16:27:51 -04:00
Quincy Morgan
a97f05c9dc
Disable zoom in/out buttons when at max or min zoom already ( close #6847 )
2019-09-18 15:56:32 -04:00
Matias Volpe
8e616d7384
feat: add Mapillary Map Features layer
2019-08-22 15:16:31 -03:00
Quincy Morgan
dd7b2603af
Fix issue where a deleted feature might not disappear from the map ( close #6480 )
2019-08-13 15:25:07 -05:00
Quincy Morgan
83c5fa3215
Fix issue where background panel wouldn't update ( close #6627 )
2019-07-08 16:48:10 -04:00
Quincy Morgan
c95cead06d
Fix bug where issues would not be properly centered if the map was not already at z19 ( close #6384 )
2019-05-24 10:28:59 -04:00
Bryan Housel
a5a7e0aaf1
Switch Bing Imagery Key
...
(re: #5833 )
2019-05-24 01:32:02 -04:00
Quincy Morgan
35b3102006
Add Disable All and Enable All buttons for the Map Features list ( close #5234 )
2019-05-22 11:56:04 -04:00
Quincy Morgan
854eacdc7e
Add feature filters for pistes and aerialways
2019-05-22 10:38:04 -04:00
Quincy Morgan
30b01906e3
Hide indoor areas and building part areas when those features types are disabled (re: #6352 )
2019-05-22 10:08:30 -04:00
Quincy Morgan
76b98f14e0
Merge pull request #6352 from tordans/filder-for-building-part-and-indoor
...
Add filter building:part and indoor
2019-05-22 09:47:45 -04:00
Bryan Housel
bdb454e1b3
Remove utilCallWhenIdle, use requestIdleCallback/cancelIdleCallback
...
Places where a reset or connection switch would be problematic,
we can now cancel the callbacks.
2019-05-16 22:28:56 -04:00
Quincy Morgan
961a79e4f2
Add photo overlays used during editing to the "source" changeset tag ( close #6279 )
2019-05-16 14:52:41 -04:00
Tobias Jordans
35a2301ea3
Add filter building:part and indoor
...
- Extract the building:part from the building filter into it's own filter
- Add indoor filtering
- Update api doc
2019-05-12 19:31:23 +02:00
Quincy Morgan
7a6949aa2e
Account for the width of open panes when centering the map on issues
2019-05-10 11:33:59 -04:00
Quincy Morgan
bafc0da99c
Force child nodes visible when forcing a way visible ( close #6328 )
2019-05-08 10:50:21 -04:00
Quincy Morgan
949b57d118
Ensure that relations are called before ways when categorizing fetched features ( close #6277 )
2019-05-01 11:33:39 -07:00
Quincy Morgan
907df1c10e
Include relation members when forcing relations visible in all cases, not just selection (re: 6eeaf94076)
2019-05-01 11:08:52 -07:00
Bryan Housel
fceb1a86f7
Merge pull request #6245 from openstreetmap/d3-v5
...
d3 v5
2019-04-29 15:46:08 -04:00
Bryan Housel
b99be67169
When calling an errback from a Promise.catch, pass err.message
2019-04-25 21:58:36 -04:00
Quincy Morgan
d01bb78707
Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys ( close #6237 )
2019-04-24 13:45:59 -07:00
Bryan Housel
e6bc9d9e8f
Swap out d3-request, swap in d3-fetch
2019-04-24 16:25:25 -04:00
Bryan Housel
7dce4bb161
Avoid asking DOM if layers are classed disabled in map.editable
...
`map.editable` is hot code because it's called frequently by the `isHiddenX`
tests in `features.js`. It's much more efficient to just ask the osm layer
whether it is enabled, than to use D3 to find that layer in the DOM and check
whether it's classed `disabled`
2019-04-22 22:12:42 -04:00
Bryan Housel
51c1088c1b
Merge branch 'master' into validation_and_change_perf
2019-04-19 15:18:23 -04:00
Bryan Housel
c4209515a5
Only consider hiding features matched to a rule
...
(Fixes accidental hiding of vertices)
2019-04-18 19:26:17 -04:00
Quincy Morgan
84b7e08bf8
Don't select the previously-edited node when undoing/redoing (re: #5831 )
2019-04-16 14:21:15 -07:00
Bryan Housel
f6708fd84c
Hide feature if _all_ rules hidden (was: if _any_ rule hidden)
...
This matters as we start to match more rules for hybrid features like rail
platforms, which now match both path and rail. We want to show them unless the
user has hidden all the rules that they match.
Also this changes the test code slightly to actually test rule matching.
Before it was really just testing hiding.
2019-04-15 10:20:58 -04:00
Bryan Housel
0ec9cd91dc
Warm up the feature matching cache upon merging fetched data
...
Also rename `_features` to `_rules`, since we use the word features too much
2019-04-12 12:25:37 -04:00
Bryan Housel
0dd262d1dd
Don't dispatch 'change' on history.merged, dispatch 'merge' only
...
Change performs an expensive immediate redraw, and merge can schedule
a redraw for later.
2019-04-12 09:56:18 -04:00
Bryan Housel
dda810683e
Adjust matchscore, feature filters to boost physical tags over boundary
...
(closes #6162 )
2019-04-11 21:26:53 -04:00
Bryan Housel
2b050549eb
Avoid reflow in minimap by hardcoding its dimensions
2019-04-11 21:05:04 -04:00
Bryan Housel
87e3b928d0
Reduce drawing during history changes
...
(closes #6086 )
2019-04-03 23:26:26 -04:00
Bryan Housel
d5abe468b9
Remove rest of the lodash iterators: map, reduce, forEach
...
(re: #6087 )
2019-03-29 15:14:21 -04:00
Quincy Morgan
6fb8fcb86b
Make map pan to the location of the undone edit when undoing instead of the location of the edit before that ( close #5831 )
2019-03-27 18:02:21 -04:00
Bryan Housel
3d80e6505f
Remove lodash chunk, groupBy
...
(re: #6087 )
2019-03-27 16:18:41 -04:00
Bryan Housel
5e1ff74199
Replace lodash difference, intersects, union
...
(re: 6087)
2019-03-27 01:22:11 -04:00
Bryan Housel
7e6f68a1b2
Remove lodash some
...
(re: #6087 )
2019-03-23 00:07:52 -04:00
Bryan Housel
0e90167513
Remove lodash clone
...
(re: #6087 )
2019-03-22 23:18:25 -04:00
Bryan Housel
ff4f8f005f
Remove lodash find and findIndex
...
(re: #6087 )
2019-03-22 17:31:41 -04:00
Bryan Housel
11bfeaabfc
Add browser-polyfills, remove lodash assign, compact, values
...
(re: #6087 )
2019-03-22 17:14:41 -04:00
Quincy Morgan
7d0080a642
Persist the photo overlay layers via the URL query string (re: #5813 )
2019-03-14 16:48:08 -04:00
Quincy Morgan
c65a4d038e
Add photo overlay filter options for hiding flat and pano photos ( close #5433 )
2019-03-14 14:24:21 -04:00
Bryan Housel
ebddfc896a
Don't render background() when adding map to initial #map div
...
This was triggering an unnecessary render at zoom 2
right before the map was properly centerzoomed
2019-03-06 21:51:02 -05:00
Bryan Housel
0a1e497836
Ignore errors from Bing ImageryProviders
2019-03-06 17:32:05 -05:00