Commit Graph

4072 Commits

Author SHA1 Message Date
Tim Schaub
b16c2e0062 Include pixelworks and terminate workers before creating new ones 2020-05-16 22:19:40 -06:00
Andreas Hocevar
e5167f4e12 Fix custom controls with user-provided element 2020-05-15 17:50:44 +02:00
Andreas Hocevar
33ce206bab Get rid of MapBrowserPointerEvent 2020-05-10 16:54:34 +02:00
Tim Schaub
4d9975754f Mapbox vector layer 2020-05-03 16:07:27 -06:00
Andreas Hocevar
5c20e86e40 Merge pull request #10981 from nielsmeijer/issue-wmts-bbox
Calculate WMTS TileGrid extent using TileMatrixSetLimit when available
2020-05-03 12:14:27 +02:00
Niels Meijer
63d03f4fcc Split test WMTS capabilities 2020-05-03 10:54:01 +02:00
mike-000
8415627731 Test log2 function
use string to test NaN
2020-04-30 19:39:33 +01:00
mike-000
f91e51c28b Test log2 function
fix typo
2020-04-30 19:11:41 +01:00
mike-000
bce9730644 Test log2 function 2020-04-30 19:03:37 +01:00
Andreas Hocevar
781a5443cf Handle scaled output canvas correctly 2020-04-29 20:19:42 +02:00
Niels Meijer
9cab1215c0 Use TileMatrixSetLimit for extent calculation when available. 2020-04-29 16:35:36 +02:00
Andreas Hocevar
96802ba645 Remove lint 2020-04-29 09:23:10 +02:00
Niels Meijer
d395b54605 Apply projection.getMetersPerUnit() to calculated resolution 2020-04-28 21:43:59 +02:00
Andreas Hocevar
8ba051add3 Fix private scope issues in ol/interaction/* 2020-04-15 10:53:25 +02:00
Andreas Hocevar
f4d64700ef Fix private scope type issues in controls 2020-04-15 10:53:24 +02:00
Andreas Hocevar
2fd8a556e1 Better test for uniform colors 2020-04-14 20:25:27 +02:00
Tim Schaub
054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frédéric Junod
d8cbda18a7 Merge pull request #10840 from fredj/remove_inheritDoc
Remove inherit doc
2020-04-04 14:06:43 +02:00
Andreas Hocevar
58b92aca6f Merge pull request #10463 from pjsg/fix_triangulation
Fix issue with reprojection and double drawing pixels.
2020-04-04 09:44:28 +02:00
Olivier Guyot
22c02e7f35 Merge pull request #10865 from jahow/view-animate-updatesize-fix
View / avoid solving constraints related to map size during animation
2020-04-03 13:55:54 +02:00
Frederic Junod
d15ec1c12c Remove all inheritDoc tags from disposeInternal functions 2020-04-03 08:10:41 +02:00
Frederic Junod
6522e6a17f Pass the id field name as a new param 2020-04-03 07:52:51 +02:00
philip
6e2d8cc266 Add test for the reprojection being able to handle translucent layers 2020-04-03 01:46:03 +00:00
Geert Premereur
ad77143417 Experiment with test impact further (3) 2020-04-02 20:05:15 +02:00
Geert Premereur
cf1191505e Experiment with test impact further (2) 2020-04-02 20:05:15 +02:00
Geert Premereur
3909938a70 Experiment with test impact further 2020-04-02 20:05:15 +02:00
Geert Premereur
e9e75cd8af temporarily disable test to observe impact 2020-04-02 20:05:14 +02:00
Geert Premereur
dc957ec104 CK-240: fix lint errors 2020-04-02 20:05:14 +02:00
Geert Premereur
a30a92a963 CK-240: fix multiple select interactions on map
event handlers have to be (de)activated when the interaction is added or removed to the map, not when constructed

added unit test
2020-04-02 20:05:14 +02:00
Tim Schaub
b4e51ed841 Merge pull request #10343 from mike-000/patch-10
Correct interactions with circle geometries when using user coordinates
2020-04-02 11:06:48 -06:00
Olivier Guyot
32321e381c View / avoid solving constraints related to map size change during anim 2020-04-02 14:22:47 +02:00
Andreas Hocevar
2401e0af00 Merge pull request #10646 from mike-000/patch-1
Write fill and outline in KML PolyStyle
2020-03-31 23:22:15 +02:00
Andreas Hocevar
9af1e223af More tests and docs for extent and coordinate wrapX 2020-03-31 16:11:06 +02:00
Andreas Hocevar
cdafc4fa05 Add approximatelyEquals function for comparing extents 2020-03-31 16:11:06 +02:00
Andreas Hocevar
098885a006 New wrapX functions for coordinate and extent 2020-03-31 16:03:12 +02:00
Andreas Hocevar
a35794ae97 Load two extents for views that cross the date line 2020-03-31 16:03:12 +02:00
Andreas Hocevar
190cd202a1 Always use load extent with real world center 2020-03-31 16:03:11 +02:00
mike-000
0c9324f398 Test extents passed to loader 2020-03-31 16:03:10 +02:00
mike-000
67c37c2163 Test extents passed to loader 2020-03-31 16:03:10 +02:00
Andreas Hocevar
0a7f7db817 Merge pull request #10795 from mike-000/patch-6
Show graticule labels in wrapped worlds
2020-03-28 14:46:54 +01:00
Andreas Hocevar
0366bca7c1 Merge pull request #10822 from lysek/master
parsing color from IconStyle in KML files
2020-03-27 11:31:49 +01:00
Andreas Hocevar
2d8782b1da Merge pull request #9590 from mloskot/ml/wmts-augment-tms-extent
Calculate tile grid extent from extent of bottom-level tile matrix
2020-03-26 23:23:54 +01:00
Szabo Bogdan
6aa398cbec Fix hit detection for images with missing size 2020-03-26 21:23:23 +01:00
Szabo Bogdan
fbe7b0bd78 Fix test typo 2020-03-26 21:22:08 +01:00
Mateusz Łoskot
98e8bec370 Calculate tile grid extent from extent of bottom-level tile matrix
Prefers extent derived from the tile matrix set in the capabilities
over default projection extent.
2020-03-26 19:17:32 +01:00
Jiri Lysek
2b6e767840 encoding color into KML 2020-03-23 10:10:12 +01:00
Jiri Lysek
d5b3d27e62 parsing color from IconStyle in KML files 2020-03-19 13:02:53 +01:00
mike-000
4ca966bd92 show labels in wrapped worlds
test labels in wrapped world
2020-03-11 16:06:31 +00:00
Andreas Hocevar
f448d7179a Merge pull request #10785 from ahocevar/zoomify-retina
Detect Zoomify server-side retina tiles
2020-03-11 11:05:57 +01:00
Andreas Hocevar
5e51e397bb Merge pull request #10786 from ahocevar/resolve-contraints-on-updatesize
Resolve constraints when updating size
2020-03-10 13:05:29 +01:00