Commit Graph

330 Commits

Author SHA1 Message Date
Quincy Morgan
081db7c7a6 Support filtering by multiple photo usernames 2020-10-19 16:27:07 -04:00
Quincy Morgan
f5d53caaf7 Don't allow date separators that could be used in some date formats 2020-10-19 15:51:46 -04:00
Quincy Morgan
893629da4f Combine fromDate and toDate parameters into single photo_dates parameter
Rename `username` parameter to `photo_username`
Add API documentation of photo filter parameters
2020-10-19 15:43:25 -04:00
Quincy Morgan
a4e2b8043c Validate filter date values from hash/input
Compensate if from date is set after to date
2020-10-15 16:48:45 -04:00
Quincy Morgan
17d8735956 Read photo filters from hash before reading enabled overlays/photos 2020-10-15 16:46:53 -04:00
Quincy Morgan
b2b97c55a6 Don't show username filter for streetside 2020-10-15 16:46:07 -04:00
Quincy Morgan
8daa8fd052 Merge pull request #8077 from mapillary/photo-filtering-url
Persist photo layer filters in the URL
2020-10-15 13:39:46 -04:00
Quincy Morgan
a48c69331f Merge branch 'develop' into photo-filter-temp 2020-10-15 13:38:15 -04:00
Nikola Plesa
ca7e44d2f0 Fix merge conflicts 2020-10-15 18:15:57 +02:00
Nikola Plesa
c1746ae09f Persist photo layer filters in the URL 2020-10-13 10:42:28 +02:00
Quincy Morgan
a33ab44e81 Merge branch 'develop' into photo-filter-temp
# Conflicts:
#	css/80_app.css
#	modules/services/mapillary.js
2020-10-12 16:16:32 -04:00
Quincy Morgan
fcd1a317b6 Merge branch 'develop' into d3-6 2020-10-08 09:32:40 -04:00
Quincy Morgan
3ef36a8bad Use the layer names instead of the IDs in the imagery_used tag (close #7842) 2020-10-08 09:29:50 -04:00
Quincy Morgan
21a49bbec8 Initial support for D3 v6.2.0 2020-10-06 15:08:39 -04:00
Quincy Morgan
2fa64e7445 Switch from hyphen to slash for photo parameter separator (re: #6398) 2020-10-04 20:17:44 -04:00
Quincy Morgan
ad54a6e140 Support opening iD with a Streetside or OpenStreetCam photo specified as a URL parameter (close #6398)
Bring the APIs for the three street level services closer in sync
2020-10-02 13:30:36 -04:00
Quincy Morgan
c443b28b8d Add lang attribute to more display labels (re: #7963) 2020-09-23 11:03:47 -04:00
Quincy Morgan
4600ab596f Add lang attribute to more display labels (re: #7963) 2020-09-23 10:10:24 -04:00
Quincy Morgan
32f8274929 Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963)
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -04:00
Quincy Morgan
95dee987cb Enable the corresponding photo overlay layer when specifying a photo from that service via the URL (re: #6398) 2020-09-14 11:01:35 -04:00
Quincy Morgan
21c86c6d6d Re-add reading of mapillary image from URL (re: #7885, #6398) 2020-09-13 17:09:35 -04:00
Quincy Morgan
03ca12741f Make imageryBlocklists return regex objects instead of strings
Fix performance bug due to checking background source blocks too often
2020-09-04 10:09:47 -04:00
Quincy Morgan
a72a2bb860 Hide background sources from the list if they're blocked (close #7905) 2020-09-03 12:30:59 -04:00
Peter Newman
4205ca1d07 Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.

(cherry picked from commit 2c47a11008)
2020-08-10 17:32:37 +01:00
Nikola Plesa
23bce42618 feat: filter sequences from openstreetcam and streetside 2020-07-27 09:42:59 +02:00
Nikola Plesa
22bc5121a4 feat: date and username filtering for photo overlay layers 2020-07-27 09:42:59 +02:00
Quincy Morgan
bd9d4bce74 Fix issue with reversed bounding box coordinate order in WMS 1.3 for EPSG:4326 CRS (close #7557) 2020-07-24 17:43:52 -04:00
Quincy Morgan
cf868464f4 Fix issue where hover sidebar wouldn't be closed when zooming out past editable extent (close #7765) 2020-07-13 15:47:12 -04:00
Quincy Morgan
cf362cdcac Keep the edit menu open while panning the map but not zooming 2020-06-30 11:50:56 -04:00
Quincy Morgan
1b6e44bc14 Support {@2x} and {r} as parameters for high-res custom TMS tiles (close #7712)
Use retina tiles for the locator overlay on supported displays
2020-06-17 12:40:36 -04:00
Quincy Morgan
3ba805d6ca Skip editableDataEnabled check in rendererFeatures filters (re: #7706) 2020-06-16 13:19:54 -04:00
Quincy Morgan
0473243930 Add workaround for broken rapid tapping on iOS 13.4+ (close #7694) 2020-06-15 12:27:53 -04:00
Quincy Morgan
572ce0a787 Make sure horizontal-only scroll events can be translated into map pans (close #7659) 2020-06-04 13:29:45 -04:00
Jacob Scherber
bfa1dbf8d4 remove trailing whitespace on line 2020-05-31 14:19:40 -07:00
Jacob Scherber
24ceda3d9c header size didn't include padding above buttons 2020-05-31 13:50:26 -07:00
Quincy Morgan
640d22b298 Prevent default drag and drop of background tile images if interaction handlers don't prevent dragging for some reason 2020-05-21 14:06:28 -04:00
Quincy Morgan
35eaf7045c Round ESRI background accuracy and resolution labels to four decimal places (close #7573) 2020-05-21 10:43:19 -04:00
Quincy Morgan
7b09b6c0dc Enable low-zoom display of focused feature when resolving conflicts (close #7330) 2020-05-18 17:14:50 -04:00
Quincy Morgan
b5140f25a4 Merge branch 'develop' into 1ec5-custom-wms-template-7428 2020-05-18 15:00:44 -04:00
Quincy Morgan
a5091c3bd0 Account for pointerId and simplify position calculations in doubleUp (re: #7611) 2020-05-18 09:58:15 -04:00
Quincy Morgan
dff4268256 Allow selection, deselection, and multiselection with the spacebar (re: #3843)
Don't open the edit menu on single spacebar press
Open the edit menu for long spacebar press (re: #7577)
2020-05-14 11:19:20 -04:00
Quincy Morgan
e6fc7e221a Fix menu position when long-pressing features on touchscreens (re: #7577)
Improve comment
2020-05-10 10:59:56 -07:00
Quincy Morgan
77552c4430 Fix map interaction on devices not supporting pointer events 2020-05-08 15:44:02 -07:00
Quincy Morgan
5a8f573889 Continue zoom/pan of map when a down pointer moves off the map (re: #5505)
Fix possibly #6745
2020-05-08 15:30:38 -07:00
James Kingdom
dd3f0f0cf9 Remove corridor from path category 2020-04-28 22:03:39 +01:00
Bryan Housel
e1c4823e15 Update the custom background instructions pane to include wms 2020-04-11 23:36:35 -07:00
Bryan Housel
0917bc7189 Add template type detection for custom sources
(closes #4977)

Before custom sources were assumed tms, now we detect wms
and guess 'EPSG:3857' projection
2020-04-11 23:34:59 -07:00
Quincy Morgan
ca3a0f9dbc Fix lint warnings 2020-04-02 11:12:10 -07:00
Quincy Morgan
8734b67821 Remove the context.intersects passthrough function 2020-04-01 15:36:53 -07:00
Quincy Morgan
a58abe3c6f Move localStorage interface from a property of coreContext to a corePreferences function 2020-04-01 11:00:48 -07:00