Commit Graph

373 Commits

Author SHA1 Message Date
Martin Raifer
4b40ec81c6 linter fix 2022-07-19 19:31:59 +02:00
Martin Raifer
6d84857731 drop unused import 2022-07-19 19:31:28 +02:00
Martin Raifer
841789621f defer initializing background after ui has fully loaded
this makes sure that the map extent is known when deciding which background imagery to load (e.g. which are valid in the viewport or which is the "best" one)
2022-07-19 19:17:27 +02:00
Martin Raifer
60eead24ca use proper map extent when choosing imagery sources 2022-07-19 13:28:46 +02:00
Martin Raifer
eee346e7dc apply "is background valid" on "last used" instead of "requested" layer 2022-07-15 18:57:50 +02:00
Renan
1313e4b21e Fix iD using invalid user selected imagery 2022-07-15 18:54:49 +02:00
Martin Raifer
03d6bb0f55 fix some boundaries not hidden by the filter, closes #9171 2022-07-15 16:24:05 +02:00
Martin Raifer
7d546a8f60 refactor further modules to not rely on html injection 2022-06-24 19:31:41 +02:00
Martin Raifer
ac77289b4d refactor localized text rendering in tooltips, flash messages 2022-06-23 18:55:57 +02:00
Minh Nguyễn
dc2e83ccaa Removed dotall regex flag (#9165)
Fixes compatibility with Chrome 61, Firefox 77, Safari 11.
2022-06-16 00:32:20 +02:00
CommanderRoot
76738daff8 Replace deprecated String.prototype.substr() (#8988)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-06-06 16:16:38 +02:00
Kyℓe Hensel
724462ec47 consider lifecycle prefixes in osmTagSuggestingArea (#8881) 2022-06-06 15:56:31 +02:00
Milos Brzakovic
66c5007fc2 Update bing imagery key and api urls. Interval limiting for tiles vintage (#9133)
update bing imagery key, template, api url
BasicMetadata for vintage
handled 429 in getMetadata
2022-05-25 18:49:35 +02:00
Martin Raifer
352f244d68 trim hash part from custom imagery source URLs
before trying to detect the imagery source's type, fixes #8822
2022-02-16 21:57:03 +01:00
Kyℓe Hensel
72af994b2c remove other token formats from imagery_used (#8976) 2022-02-11 20:00:05 +01:00
Martin Raifer
632e24137a drop legacy builds, unneeded polyfills, document drop of IE11 support 2022-02-03 13:07:28 +01:00
Bryan Housel
d1410bce00 perf: Compare regexes as strings otherwise they look different each frame
Regexes are objects so comparing them with === will always return false
This was causing the sources to be rechecked every frame.
2021-12-22 11:28:07 -05:00
Martin Raifer
cc6f16d480 Merge branch 'develop' into accessible_ui 2021-12-07 16:22:01 +01:00
Martin Raifer
798ea4b37c code linting 2021-12-07 11:28:58 +01:00
Martin Raifer
9fdca21cb9 fix fetching of esri imagery metadata 2021-12-07 10:41:07 +01:00
Milos Brzakovic (E-Search)
a77840eb2a image alt attr in tile imagery and tag wiki info 2021-11-29 19:31:58 +01:00
Martin Raifer
ca07e33a3e Merge branch 'develop' into issue-8813 2021-11-23 18:28:14 +01:00
Martin Raifer
f6cbc65cdc always detect source type for custom background sources.
fixes #8057
2021-11-23 15:05:00 +01:00
Martin Raifer
040257fd44 replace unnecessary setting of raw "html" with "text" 2021-11-18 18:53:33 +01:00
Martin Raifer
25d4ff100f rename all openstreetcam references to kartaview
closes #8807
2021-11-16 17:42:53 +01:00
Bryan Housel
a962c6f96c Can't redraw while transformed 2021-08-13 17:36:45 -04:00
Milos Brzakovic
2270b5dd9c fixes mac os firefox scroll. closes #8595 2021-08-13 16:51:02 +02:00
Milos Brzakovic
c8aedcbb79 minor trailing spaces 2021-08-05 18:36:25 +02:00
Milos Brzakovic
bc0c1895f7 bing imagery fallback url template update 2021-08-05 18:17:58 +02:00
Milos Brzakovic
f9804bd1ca Small reverting on bing imagery api
- Reasoning: concern on traffic amount for p2/josm key
- next release will resolve this properly
2021-07-22 19:03:19 +02:00
Milos Brzakovic
49abb78251 bing imagery template to https 2021-07-12 20:29:57 +02:00
Milos Brzakovic
a64e49b064 small fix - whitespace 2021-07-12 18:44:22 +02:00
Milos Brzakovic
c248aece7b typo 2021-07-07 20:57:54 +02:00
Milos Brzakovic
887938c406 some bing imagery docs comments 2021-07-07 20:56:04 +02:00
Milos Brzakovic
81ce43e055 minor revert catch log 2021-07-07 19:23:20 +02:00
Milos Brzakovic (E-Search)
358335cf4e bingImagery strict n param.
Fallback url tempalate to latest
2021-07-05 14:06:57 +02:00
Milos Brzakovic (E-Search)
2d2ec4a9c3 Bing imagery - Ensure freshness 2021-07-02 17:25:07 +02:00
Nikola Pleša
6a35533147 Merge develop into mapillary-vector-tiles 2021-06-25 13:07:05 +02:00
Nikola Pleša
7a0d8adb7b Switch to Mapillary API v4 2021-06-15 10:13:07 +02:00
Milos Brzakovic (E-Search)
92a9ef2061 Move CrossEditableZoom event firing.
It should happen after projection is transformed.
2021-04-27 14:10:13 +02:00
René Buffat
c721c1ebb5 fix wms detection 2021-01-26 20:30:36 +01:00
Quincy Morgan
611abf8ed0 Enable rotating selection even when mouse isn't over the map (re: #8187) 2020-12-03 15:04:21 -05:00
Quincy Morgan
792a4e8594 Fix background tile issues caused by the cache not properly updating upon load/error with D3 v6 2020-10-26 14:52:58 -04:00
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