Marwin Hochfelsner
0a6cbf3ebc
Sort tiles by zoom ( #9504 )
...
to make sure that low zoom tiles don't hide higher resolution tiles. This can be relevant in case of tile loading errors or around the coverage border of a tile service.
2025-02-18 12:00:36 +01:00
Marwin Hochfelsner
6026d69672
Replace setTimeout with ontransitionend for easier customizability ( #10785 )
2025-02-18 10:52:58 +01:00
Martin Raifer
9e110cfda4
make background map tile edges opaque
...
Replaces the workaround of the tile rendering issues on Chrome at odd zoom levels.
The svg filter `#alpha-slope5` alters the alpha channel of background tiles such that everything but (almost) transparent pixels are rendered fully opaque.
closes #10747
2025-02-10 13:50:23 +01:00
Martin Raifer
ac3fe661d0
preserve imagery offset during tile layer transition, fixes #10748
2025-02-09 19:40:06 +01:00
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
Martin Raifer
460a9efce1
fix brief flickering during tile switching when zooming, fixes #10660
2025-01-08 12:17:52 +01:00
Martin Raifer
4dc8f981bd
Link to PR in inline comments
2024-12-18 15:21:50 +01:00
Louis Demange
28e7faa13b
Apply plus-lighter only at specific zoom levels
2024-12-17 07:01:21 +01:00
Nekzuris
dcfcf222e2
Dynamic epsilon for specific pixel ratios on Chrome
2024-12-13 19:47:40 +01:00
Nekzuris
b2c51929c6
Fix visible grid around tiles
2024-12-11 02:30:38 +01:00
Martin Raifer
5024feafe8
Fix flickering when switching between background imagery layers
...
and make switching backgrounds snappier
2024-10-21 18:31:07 +02:00
Furkan Mutlu
f7bd65ac8d
fix: 🐛 Fix multiple appending debug vintage unknown label ( #9458 )
...
* fix: 🐛 Fix multiple appending debug vintage unknown label
* keep using t.append for accessibility
Co-authored-by: Martin Raifer <martin@raifer.tech >
2023-01-19 11:49:30 +01:00
Martin Raifer
7d546a8f60
refactor further modules to not rely on html injection
2022-06-24 19:31:41 +02:00
Martin Raifer
cc6f16d480
Merge branch 'develop' into accessible_ui
2021-12-07 16:22:01 +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
040257fd44
replace unnecessary setting of raw "html" with "text"
2021-11-18 18:53:33 +01: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
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
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
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
80a4cec8dd
Manually force background tile images to display at their expected size ( close #7070 )
2019-12-02 12:38:55 -05:00
Bryan Housel
2b050549eb
Avoid reflow in minimap by hardcoding its dimensions
2019-04-11 21:05:04 -04:00
Bryan Housel
11076bf0c5
Calculate correct scale in tiler() for non-256px tile sizes
2018-07-25 15:11:43 -04:00
Bryan Housel
ac27cbd67d
Add support for 512px Mapbox Satellite tiles
...
The tiler and projection are still not aware of the 512px size.
This results in fetching 512px images but placing them in the 256px slippy map
and scalling them down.
(This is dumb but at least they look nicer than before)
2018-07-22 02:50:49 -04:00
Bryan Housel
52dc6c280f
Preparation for non-256px tileSizes in sources
2018-07-22 01:43:56 -04:00
Bryan Housel
2fa593421f
Rename scaleExtent to zoomExtent, slightly simplify getTiles()
2018-07-22 01:15:44 -04:00
Bryan Housel
292347b28a
Use utilTiler's Null Island filter for overlay sources
2018-07-21 18:53:19 -04:00
Bryan Housel
d1fe81b905
rename utilTile -> utilTiler
2018-07-21 10:07:56 -04:00
Thomas Hervey
d4b1622667
moved getTiles and filtering to utils
2018-07-14 19:15:25 -04:00
Bryan Housel
9d55cfb70f
Treat both EsriWorldImagery layers the same (support vintage, etc)
2018-02-01 11:36:20 -05:00
Bryan Housel
96afbbd785
Refactor vector math functions from geo.js to vector.js
2017-12-28 01:08:11 -05:00
Bryan Housel
2e2b037e36
Move a bunch of commonly used vector and projection math functions into geo
...
- geoVecAdd
- geoVecSubtract
- geoVecScale
- geoZoomToScale
- geoScaleToZoom
2017-12-18 15:05:42 -05:00
Bryan Housel
d906ca6b10
Convert lodah-es and d3 to named imports for renderer
2017-09-25 14:35:33 -04:00
Bryan Housel
6addbba340
reorganize metadata object, change display of meters
2017-09-12 14:51:01 -04:00
john gravois
5f341366e7
display additional metadata from Esri World Imagery
...
* getVintage() becomes getMetadata()
* ignore a couple unrelated lint nags
* add source description, resolution and accuracy info to debug panel
2017-09-11 09:51:07 -07:00
Bryan Housel
8ed2d18474
Apply imagary offset to projection before tiling background layer
...
(closes #4232 )
2017-08-18 22:53:11 -04:00
Bryan Housel
3464a46df6
All imagery layers should just be owned by rendererBackground()
...
This moves management of the custom layer out of uiBackground()
2017-07-20 16:07:10 -04:00
Bryan Housel
3043323ba9
Rename infobox to info-panels
2017-07-04 02:14:30 -04:00
Bryan Housel
cb249cc28b
Rename panel Imagery -> Background, change key G -> B
2017-07-04 01:18:45 -04:00
Bryan Housel
1f826851b2
Make tileCenter return the point actually at the tile center
...
Then use css to adjust the position of the debug div
2017-07-03 16:03:41 -04:00
Bryan Housel
b9df6df03f
Imagery vintage improvements:
...
- Cache vintage lookups from Bing API
- Actually sample a tile at the center of the viewport,
rather than just divinding tiles/2 (not a good guess)
- Refactor the start-end range code into one place
2017-07-03 15:12:59 -04:00
Bryan Housel
7df458e4df
Display imagery vintage when tile debugging is enabled..
2017-07-02 10:21:46 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
a6d683eaf7
Code cleanups in svg, ui for selection merging, fix Mapillary.
2016-09-17 23:26:49 -04:00
Bryan Housel
273407da3d
Fix svg layer selections, fix and add tests..
2016-09-09 14:19:13 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Kushan Joshi
6a56ad547c
external modules for renderer
2016-06-22 12:34:43 +05:30
Kushan Joshi
46d68bca87
modularize iD.renderer
2016-06-17 12:53:19 +05:30