Bryan Housel
650e77e9ac
Update togeojson import
2016-12-16 16:21:03 -05:00
Bryan Housel
2267035dfb
Support both reflect long axis and reflect short axis operations
2016-12-16 13:59:33 -05:00
Bryan Housel
dca1c8fb41
Add reflect icons
2016-12-16 11:24:29 -05:00
Bryan Housel
e88f53ac07
Reflect around long axis by default, provide method to choose long/short
2016-12-15 18:13:28 -05:00
Bryan Housel
94933ac455
Attempt to detect shape orientation and reflect accordingly
2016-12-15 17:43:46 -05:00
Bryan Housel
72c51bc283
Add getSmallestSurroundingRectangle
2016-12-14 17:21:32 -05:00
Bryan Housel
5a6045fd3d
Merge branch 'master' into Psigio-3375
2016-12-14 11:30:53 -05:00
Bryan Housel
6ca4b13304
Store view transform and selectedIDs w/history, and undo/redo them
...
(closes #2204 )
2016-12-10 23:25:58 -05:00
Bryan Housel
dc5da7b480
Follow next vertex when deleting, add suppressMenu when vertex following
2016-12-09 12:11:24 -05:00
Bryan Housel
3abf1b5be8
Allow reselection of next vertex even if vertex has multiple parents
2016-12-09 11:57:26 -05:00
Bryan Housel
a55ab036aa
Don't assume that all the ids in selectedIDs are valid
...
(This is becuse they might have been deleted in a delete operation
and we are immediately redrawing the results of that operation before
reselecting something else)
2016-12-09 11:46:22 -05:00
Bryan Housel
8a66b3d892
Don't enter iD.modeSelect without valid entities in selectedIDs
2016-12-09 11:32:14 -05:00
Bryan Housel
a3de3534c3
Don't reuse click handler in enter selection, set on update
...
(closes #3638 )
2016-12-08 11:08:21 -05:00
Bryan Housel
1912251251
Add labels for vertices
...
(closes #2709 )
2016-12-07 16:58:27 -05:00
Bryan Housel
6b18ea76ff
Hide labels along selected ways, or near selected vertices
...
(closes #3636 )
2016-12-07 15:38:14 -05:00
Bryan Housel
77b78a73ca
Complete orphaned d3-zoom gestures that were preventing clicks
...
(closes #2151 ), (see also d3/d3-zoom#60 , d3/d3-brush#18 )
Intercept `mousedown` and check if there is an orphaned zoom gesture.
This can happen if a previous `mousedown` occurred without a `mouseup`.
If we detect this, dispatch `mouseup` to complete the orphaned gesture,
so that d3-zoom won't stop propagation of new `mousedown` events.
2016-12-06 16:54:42 -05:00
Bryan Housel
aa3c1c8431
All sources have id now, so compare by id
...
Fixes an issue where a source might not compare strictly equal e.g.:
1. custom imagery gets blacklisted and replaced with a
`rendererBackgroundSource.None()`
2. which doesn't strictly === the `rendererBackgroundSource.None()` on the
background pane switcher
3. so the radio button would not appear checked
2016-12-04 21:47:46 -05:00
Bryan Housel
a7ac44f6e8
Refactor imageryBlacklists so it can be called without triggering a GET
...
Previous code was problematic because we need the function to
to properly blacklist custom imagery passed in through the url hash,
before iD is completely initialized. Triggering GET causes tests to
break because osm service testing has side effects :-/
2016-12-04 21:35:55 -05:00
Bryan Housel
c353684ad3
Add imagery blacklist tests to rendererBackground#baseLayerSource
2016-12-04 13:55:18 -05:00
Bryan Housel
b9888e45e4
Add imageryBlacklists function to get blacklists from OSM API
...
(for #3623 )
2016-12-03 19:25:07 -05:00
Bryan Housel
3f024d0b95
Replace hardcoded RTL list with detected language lookup from dataLocales
2016-11-28 00:12:50 -05:00
Bryan Housel
80d9cd6c72
Use traditional interpolation for zoom interpolator, not fly-out-in
2016-11-23 09:55:16 -05:00
Bryan Housel
4b79325ec1
2.0.1
2016-11-17 14:19:58 -05:00
Bryan Housel
e331bb7f8c
Use imagery ids instead of names, update blacklist, npm run imagery
2016-11-17 14:16:52 -05:00
Bryan Housel
2448f1af1c
npm run translations
2016-11-17 13:02:40 -05:00
Bryan Housel
941d026b7c
Adjust max Mapillary pages fetched per zoom, min viewfield zoom
...
For performance around densely mapped areas like SF
2016-11-17 12:07:14 -05:00
Bryan Housel
ff5372490b
Fix url parser to work with lat/lng when checking for "best" imagery
...
(closes #3586 )
2016-11-15 13:13:28 -05:00
Bryan Housel
2a6fd8468b
2.0.0
2016-11-15 00:46:29 -05:00
Bryan Housel
9b7d79a3fe
Use live bound object for presets object, change context.presets() getter
2016-11-14 15:44:02 -05:00
Bryan Housel
93d50b4e87
Use live bound object for imagery array, remove context.imagery() accessor
...
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Bryan Housel
3667541b2a
Add background tooltips to label, not list item
...
(closes #3581 )
This is to avoid conflicting with the tooltip on the custom button,
which is a descendent of the list item.
2016-11-13 20:41:22 -05:00
Bryan Housel
a2933bc42d
Ensure setCustom calls clickSetSource, also update custom source datum
2016-11-13 20:34:13 -05:00
Bryan Housel
e606f4713f
Force utilDetect() to re-detect after setting the locale
...
(closes #3574 )
2016-11-10 15:14:27 -05:00
Bryan Housel
c46c5d94f5
Prevent imagery offset nudging buttons from getting stuck
...
(closes #3576 )
2016-11-10 14:04:03 -05:00
Bryan Housel
722eb3ae4b
perf: call geoPolygonIntersectsPolygon monomorphically to avoid deopts
2016-11-10 11:17:28 -05:00
Bryan Housel
af3db7ea36
Swap url hash map order to zoom/latitude/longitude
...
(closes #3554 )
2016-11-10 09:56:20 -05:00
Bryan Housel
02850f3c60
Show scale bar for values <1m or <1ft
...
(closes #3567 )
2016-11-09 21:56:01 -05:00
Bryan Housel
9bf6c25bde
Clear saved rate limit error when calling reset()
2016-11-09 17:58:25 -05:00
Bryan Housel
16ada1f29a
Better error handling for common osm api error conditions
...
* if 509 Bandwidth Exceeded / 429 Too Many Requests, prompt for login
(closes #2262 )
* if 400 Bad Request / 401 Unauthorized / 403 Forbidden - logout and retry
(closes #3546 )
2016-11-08 21:43:27 -05:00
Martin Raifer
7069ca8ef7
fix info box content and crash when drawing areas while info box is open
2016-11-08 17:21:08 +01:00
Martin Raifer
cc599f3c03
fix undefined underscore keycode ( #3564 )
2016-11-08 12:13:31 +01:00
Bryan Housel
48621d3155
Add callback to ui() that will be called after loadLocale completes
...
(closes #3550 )
2016-11-07 17:03:33 -05:00
Bryan Housel
20406f81ca
Merge pull request #3539 from openstreetmap/vertex-keyboard-nav
...
Add vertex keyboard navigation
2016-11-07 14:06:59 -05:00
Bryan Housel
774b3a0ccd
Add '\' key to toggle related parent, add .related class (like hover)
2016-11-07 13:44:25 -05:00
Bryan Housel
2562460962
Exit to browse mode if selected items gone, only in response to user drags
2016-11-07 11:46:38 -05:00
Jon D
563f685f9b
Fix tooltip
2016-11-06 11:30:52 +00:00
Jon D
73f3069c59
Rename for consistency, add logic to prevent flip if all of object not visible and if linked to hidden. Label does not render for message when not enabled
2016-11-06 11:15:15 +00:00
Jon D
23990214be
Update to only flip around the vertical axis. Start renaming to 'reflect'
2016-11-06 10:48:48 +00:00
Bryan Housel
cb6801c2b6
Address field improvements and bugfixes
...
(closes #3553 )
* eliminate duplicate values in suggestions
* set minItems(1) on all combo boxes
* setup dropdowns for all common address fields
2016-11-05 23:48:14 -04:00
Jon D
c1edd0f3f9
Remove unused projection parameter
2016-11-05 20:39:43 +00:00