Commit Graph

3793 Commits

Author SHA1 Message Date
Andreas Hocevar
a9b3a5bcc9 Only clamp to source projection extent 2020-07-07 10:12:47 +02:00
Tim Schaub
4727208e6e Merge pull request #11226 from michalzielanski/modify-geometry-collection-bugfix
By modifying the common vertex, not all geometries were changed when …
2020-06-29 08:23:24 -06:00
Michał Zielański
3d9dfe2654 By modifying the common vertex, not all geometries were changed when the geometries were aggregated in the collection 2020-06-29 10:48:17 +02:00
Andreas Hocevar
bef4d8a494 Make proj4 transforms behave like built-in transforms 2020-06-26 00:16:52 +02:00
Tim Schaub
09a458bed1 Merge pull request #11217 from tschaub/more-geosjon-tests
Additional test coverage for serializing GeoJSON
2020-06-24 15:20:26 -06:00
Andreas Hocevar
e4303c7b26 Merge pull request #11215 from ahocevar/flat-multipolygon
Fix MVT multipolygons with featureClass: Feature
2020-06-24 19:36:38 +02:00
Tim Schaub
45d90cde72 Additional test coverage for serializing GeoJSON 2020-06-24 10:43:15 -06:00
Andreas Hocevar
cfe763e469 Merge pull request #11188 from michalzielanski/late-obj-init
Late object initialization
2020-06-24 10:21:43 +02:00
Michał Zielański
235babfd7f Adaptation of previous changes to the change from 61241e7 (null instead of undefined as the initial value) 2020-06-24 09:54:56 +02:00
Andreas Hocevar
79c318d262 Make test polygons squares 2020-06-23 22:01:06 +02:00
songyumeng
b606878d57 fixes #8148
judge whether it is multiPolygon or Polygon:https://github.com/mapbox/vector-tile-js/blob/a9a9102/lib/vectortilefeature.js#L195-L223
2020-06-23 20:15:52 +02:00
mike-000
136936979f test getCoordinateAt returns Z and M values 2020-06-17 15:56:36 +01:00
Michał Zielański
517c9e6b52 Late object initialization in Target class 2020-06-15 19:06:36 +02:00
Michał Zielański
0e8f0034ab Creating an object that stores properties only when needed in BaseObject class 2020-06-15 18:26:28 +02:00
Andreas Hocevar
3de2ea0624 More convenience with condition chaining 2020-06-13 08:39:59 +02:00
Andreas Hocevar
aa5de5db60 Use drag-pan default condition with onFocusOnly 2020-06-13 08:39:59 +02:00
Andreas Hocevar
852fe2a3fe Allow using un() for events registered with once() 2020-06-11 12:14:32 +02:00
Andreas Hocevar
2cac6c4f39 Re-enable onFocusOnly option for interaction defaults 2020-06-03 13:13:59 +02:00
Andreas Hocevar
49658709c7 Transform without axis order in proj4 2020-05-23 20:59:08 +02:00
Tim Schaub
83cf2cb705 Merge pull request #11048 from openlayers/test-action
Run tests as a GitHub CI workflow
2020-05-17 05:17:42 -06:00
Tim Schaub
2e6dd3b251 Run tests as a GitHub CI workflow 2020-05-16 23:37:25 -06:00
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