Commit Graph

99 Commits

Author SHA1 Message Date
Martin Raifer
edf41a98d2 allow tiles to be underzoomed slightly in minimap
preventing minimap from blacking out "too soon" on low map zoom, fixes #10653. Closes #10694 and #10680
2025-01-22 17:06:01 +01:00
Kyle Hensel
7afecd39ec minor tweaks to make some tests pass 2024-09-03 19:23:21 +10:00
Excitable Snowball
4bf79e9f1a Sanitize Amazon CloudFront signature in imagery_used (#10007) 2023-12-06 12:40:15 +01:00
Martin Raifer
60ee70f016 replace parseFloat with Number 2022-12-02 13:41:48 +01:00
Martin Raifer
df1f755150 don't show empty tooltips in backgrounds list 2022-09-27 14:00:28 +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
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
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
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
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
René Buffat
c721c1ebb5 fix wms detection 2021-01-26 20:30:36 +01: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
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
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
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
35eaf7045c Round ESRI background accuracy and resolution labels to four decimal places (close #7573) 2020-05-21 10:43:19 -04: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
a1af118f0e Ensure locales and presets are loaded before the UI loads (close #7406)
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
72a99673a0 Revert #7428 2020-03-20 09:59:30 -07:00
Bryan Housel
47aaec0db6 Sanitize personal tokens from custom background imagery
(closes #6801)
2020-03-14 10:30:46 -04:00
Bryan Housel
2805c55ff3 Update the custom background instructions pane to include wms 2020-03-13 16:43:04 -04: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
Bryan Housel
5db95d8a89 Fix source filtering for 'custom' and 'none' 2020-03-13 14:57:40 -04:00
Bryan Housel
1aa5e89a38 Support {apikey} token replacement 2020-03-12 17:15:42 -04:00
Bryan Housel
dbe643aeac Switch from bundled editor-layer-index to fetched imagery-index 2020-03-12 14:27:49 -04:00
Bryan Housel
086cade061 Restore Maxar imagery layers using masked urls
(cherry pick of #7356)
2020-02-14 14:51:03 -05:00
Bryan Housel
6e5cb45c17 Don't bundle the imagery anymore, fetch from dist/data at runtime
(re: #4994)
2020-01-30 17:10:41 -05:00
Bryan Housel
bafd763e19 Add a trailing space to the custom imagery url
(closes #7207)
2020-01-06 22:42:43 -05:00
Bryan Housel
a5a7e0aaf1 Switch Bing Imagery Key
(re: #5833)
2019-05-24 01:32:02 -04:00
Bryan Housel
b99be67169 When calling an errback from a Promise.catch, pass err.message 2019-04-25 21:58:36 -04:00
Bryan Housel
e6bc9d9e8f Swap out d3-request, swap in d3-fetch 2019-04-24 16:25:25 -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