MoonE
27b4539360
Merge pull request #12027 from MoonE/update-links-2
...
Update / fix links to external ressources
2021-02-13 14:56:43 +01:00
Maximilian Krög
363cc802d0
Update / fix links to external ressources
2021-02-13 01:32:54 +01:00
MoonE
7dda97e2f7
Merge pull request #11996 from MoonE/update-links
...
Update links to external resources
2021-02-12 21:33:12 +01:00
MoonE
261bba8359
Merge pull request #11995 from MoonE/vectorlayer-hitdetect-rounding
...
Fix hitdetect inaccuracy for VectorLayer's getFeatures
2021-02-09 19:59:05 +01:00
Maximilian Krög
8bd081d992
Add test for hitdetect function
2021-02-09 19:53:08 +01:00
Maximilian Krög
49c6ab716c
Fix VectorLayer hitdetect inaccuracy
...
Due to rounding the hitdetection may have been off by one pixel.
At map edge the pixel coordinate may exceed the map's dimensions if an
decimal pixel ratio is used, this is fixed by clamping to the canvas
dimensions.
2021-02-09 19:53:08 +01:00
MoonE
7fe54ffa37
Merge pull request #12001 from openlayers/dependabot/npm_and_yarn/karma-6.1.0
...
Bump karma from 6.0.3 to 6.1.0
2021-02-09 00:17:14 +01:00
MoonE
14efd22039
Merge pull request #11999 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.13
...
Bump @babel/preset-env from 7.12.11 to 7.12.13
2021-02-09 00:12:35 +01:00
MoonE
78b113c037
Merge pull request #12000 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.13
...
Bump @babel/core from 7.12.10 to 7.12.13
2021-02-08 23:57:51 +01:00
MoonE
e13e7adcb9
Merge pull request #12003 from openlayers/dependabot/npm_and_yarn/puppeteer-7.0.1
...
Bump puppeteer from 5.5.0 to 7.0.1
2021-02-08 23:55:29 +01:00
MoonE
363f0d57d3
Merge pull request #12005 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.5.0
...
Bump webpack-cli from 4.4.0 to 4.5.0
2021-02-08 23:47:39 +01:00
MoonE
360a983797
Merge pull request #12002 from openlayers/dependabot/npm_and_yarn/marked-2.0.0
...
[Security] Bump marked from 1.2.8 to 2.0.0
2021-02-08 23:29:27 +01:00
Maximilian Krög
0d5d346bcd
Update links to external resources
2021-02-08 19:40:05 +01:00
MoonE
8616aa9320
Merge pull request #11992 from MoonE/measure-example
...
Improve measure example ux
2021-02-08 19:23:23 +01:00
MoonE
8c6dd4c244
Merge pull request #11974 from mike-000/patch-26
...
Fix polyfill inconsistencies
2021-02-07 14:36:22 +01:00
Maximilian Krög
7df38575b8
Improve measure example ux
...
- Pass click events on measure tooltips through to the map
- Put the tooltip for the currently drawn geometry on top
- Disable text selection in the tooltips so clicking to draw does not select
2021-02-06 18:50:35 +01:00
MoonE
c4099e6786
Merge pull request #11965 from mike-000/patch-24
...
Handle view rotation in d3 Integration example
2021-01-30 23:32:54 +01:00
MoonE
4538812bc3
Merge pull request #11873 from mike-000/patch-20
...
Update Mapbox-gl Layer example to mapbox-gl-js version 1.13.0 and add note about why an old version is used
2020-12-30 21:24:35 +01:00
MoonE
7778e373a7
Merge pull request #11865 from mike-000/patch-19
...
Use ol/array#includes instead of Array.prototype.includes()
2020-12-30 00:48:02 +01:00
MoonE
579db0138f
Merge pull request #11871 from MoonE/fix-legacy-build-for-ie11
...
Fix examples and build for ie11
2020-12-29 23:55:44 +01:00
Maximilian Krög
358d6736d1
Make examples work with ie11
2020-12-29 23:04:15 +01:00
MoonE
c9c71cbbcb
Merge pull request #11859 from MoonE/no-duplicate-postrender-events
...
Do not fire duplicate postrender events
2020-12-24 10:24:49 +01:00
Maximilian Krög
17659b9a80
Do not fire duplicate postrender events
2020-12-24 02:25:42 +01:00
MoonE
1a952e7a41
Merge pull request #11858 from MoonE/apidoc-vectoreventtype
...
Correct documented event names for VectorSourceEvent
2020-12-23 12:05:11 +01:00
Maximilian Krög
efdd885571
Correct documented event names for VectorSourceEvent
2020-12-23 00:02:19 +01:00
MoonE
d151c588a8
Merge pull request #11844 from MoonE/style-expressions-error-message
...
Fix Style expressions error message
2020-12-19 19:13:21 +01:00
Maximilian Krög
d2027c1640
Get value type only once
2020-12-19 14:12:37 +01:00
Maximilian Krög
8363e66d1e
Fix error message for assertArgsOdd failure
2020-12-19 14:12:37 +01:00
MoonE
bac6f4f6e8
Merge pull request #11828 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.2.1
...
Bump ol-mapbox-style from 6.1.4 to 6.2.1
2020-12-15 00:01:37 +01:00
MoonE
21eeb1a56d
Merge pull request #11830 from openlayers/dependabot/npm_and_yarn/jsdoc-plugin-typescript-2.0.6
...
Bump jsdoc-plugin-typescript from 2.0.5 to 2.0.6
2020-12-14 23:49:13 +01:00
MoonE
b4c204ad27
Merge pull request #11829 from openlayers/dependabot/npm_and_yarn/typescript-4.1.3
...
Bump typescript from 4.1.2 to 4.1.3
2020-12-14 23:44:35 +01:00
MoonE
0f1fd5854b
Merge pull request #11833 from openlayers/dependabot/npm_and_yarn/rollup-2.35.0
...
Bump rollup from 2.34.2 to 2.35.0
2020-12-14 23:36:10 +01:00
MoonE
f588506bd9
Merge pull request #11834 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.4.0
...
Bump copy-webpack-plugin from 6.3.2 to 6.4.0
2020-12-14 23:27:40 +01:00
MoonE
ca39394817
Merge pull request #11832 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.10
...
Bump @babel/preset-env from 7.12.7 to 7.12.10
2020-12-14 23:24:44 +01:00
MoonE
08a2d2ef8a
Merge pull request #11835 from openlayers/dependabot/npm_and_yarn/sinon-9.2.2
...
Bump sinon from 9.2.1 to 9.2.2
2020-12-14 23:16:30 +01:00
MoonE
f17fa23fd4
Merge pull request #11831 from openlayers/dependabot/npm_and_yarn/marked-1.2.6
...
Bump marked from 1.2.5 to 1.2.6
2020-12-14 23:14:20 +01:00
MoonE
d6dc7c4883
Merge pull request #11827 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.10
...
Bump @babel/core from 7.12.9 to 7.12.10
2020-12-14 23:08:22 +01:00
MoonE
797d2cc5d1
Merge pull request #11821 from MoonE/draw-finish-condition
...
Call the finishCondition when drawing points / circles
2020-12-11 20:51:12 +01:00
Maximilian Krög
bd4622940e
Call the finishCondition when drawing points / circles
2020-12-11 00:29:30 +01:00
MoonE
ea91d41be9
Merge pull request #11803 from MoonE/modify-fix-vertex-insertion
...
Modify fix vertex insertion
2020-12-06 16:47:41 +01:00
Maximilian Krög
c4dd6e6b04
Fixes Modify vertex insertion with duplicate segments
...
If one feature has duplicate segments it prevented insertion for other
features with the same segment.
2020-12-06 15:43:18 +01:00
Maximilian Krög
190b20ebce
Add vertex insertion test for modify interaction
2020-12-06 15:43:14 +01:00
MoonE
1dddb3f58a
Merge pull request #11783 from MoonE/hitdetect-indexes
...
Cache hit detect indexes and check closest pixels first.
2020-12-03 21:24:35 +01:00
Maximilian Krög
23dc768c2e
Order callback calls by distance to click position
...
All callback calls for hits with a tolerance > 0 are queued and
called ordered by distance after all hits are detected.
2020-12-01 23:21:59 +01:00
Maximilian Krög
4546eff66e
Also use hitTolerance to select tiles to search
2020-12-01 20:21:15 +01:00
Maximilian Krög
cde2dac19f
Skip executor groups when tile does not contain coordinates
2020-12-01 20:21:13 +01:00
Maximilian Krög
c076d273e7
Cache hit detect indexes and check closest pixels first.
2020-12-01 20:19:58 +01:00
Maximilian Krög
2ebe90f9d3
Add transition option to OSM and CartoDB sources, document default
2020-11-07 22:37:10 +01:00
Maximilian Krög
b3968a4219
Change textpath tests to work with changed method / return.
2020-11-05 22:35:54 +01:00
Maximilian Krög
b6ee7084c9
Fix stroke for text along path wiht negative x scale
2020-11-05 22:35:54 +01:00
Maximilian Krög
03f6cbb5a8
Draw substrings on straight line in one operation
2020-11-05 22:35:54 +01:00
Maximilian Krög
528833b05b
Don't iterate each chracter if entire string fits in single segment
2020-11-05 22:35:54 +01:00
Maximilian Krög
7660f3c522
Determine orientation by actual text start and end x
2020-10-20 22:46:04 +02:00
Maximilian Krög
a5202523b9
Make webpack dev server run with current version
2020-10-17 21:11:31 +02:00
Maximilian Krög
187a216379
Do not draw empty text styles
...
This fixes a rendering/flicker issue when an empty text style is decluttered
together with an image style.
2020-10-05 12:20:04 +02:00
Maximilian Krög
fc67d8302b
Add charset to the examples html below the map
2020-10-03 21:31:38 +02:00
Maximilian Krög
65fc3ca2ca
Improved performance when removing feature with only one Select
2020-09-28 01:00:07 +02:00
Maximilian Krög
f63d0741b9
Add rendering test for multipoint with icon and text
2020-09-27 21:13:27 +02:00
Maximilian Krög
0996b37fe7
Fix end world calculation if projection is not symmetric
2020-09-17 00:12:15 +02:00
Maximilian Krög
2a81a7a236
Add rendering test for multi world
2020-09-17 00:12:15 +02:00
Maximilian Krög
85499d7daf
Only draw visible worlds
2020-09-14 23:41:04 +02:00
Maximilian Krög
66ca8fbc13
Fix error when text placement is 'line' for point geometry
2020-09-12 21:30:28 +02:00
Maximilian Krög
fd28d5bb3d
Simplify method signature for appendFlatPointCoordinates
2020-09-12 20:54:53 +02:00
Maximilian Krög
9ca9e73374
Declare variable when used
2020-09-12 20:54:53 +02:00
Maximilian Krög
df81f53eb5
Some simplifications
2020-09-12 20:54:53 +02:00
Maximilian Krög
3e4e21dc8d
Only check if point is in extent for MultiPoint and TextLabels
2020-09-12 18:23:24 +02:00
Maximilian Krög
fb62e7928e
Rename method used for lines.
2020-09-11 23:53:59 +02:00
Maximilian Krög
f9ffd75132
dd / dt tag must be inside dl tags
2020-08-23 16:15:50 +02:00
Maximilian Krög
b33b2ce9a4
Don't generate empty nameContainer tag
2020-08-23 16:08:14 +02:00
Maximilian Krög
efdfb169aa
Equal margin for horizontal line
2020-08-23 16:08:14 +02:00
Maximilian Krög
0a136afe15
Navigate to first search result on enter
2020-08-23 16:08:14 +02:00
Maximilian Krög
411d5bfb03
Charset meta tag should be in the first 1024 bytes
2020-08-23 16:08:14 +02:00
Maximilian Krög
477c331a4c
Create source code links during apidoc creation
2020-08-23 16:08:14 +02:00
Maximilian Krög
d74da75561
Graceful fallback for internet explorer 11
2020-08-23 12:21:47 +02:00
Maximilian Krög
d9bc466f43
Better scroll behaviour for apidocs
2020-08-23 11:18:19 +02:00
Maximilian Krög
558b3a3ed2
Support alpha channel for icon tinting
2020-08-09 21:58:33 +02:00
Maximilian Krög
38ecaa9814
Use compositing operation for icon colorization when possible.
2020-08-09 21:58:33 +02:00
Maximilian Krög
d2d1022359
Link labels to input elements
2020-08-09 20:49:07 +02:00
Maximilian Krög
37e5529b22
Update some example styles / formatting
2020-08-09 20:49:07 +02:00
Maximilian Krög
5e30b15860
Fix link to workshop / download
2020-08-04 21:47:58 +02:00
Maximilian Krög
cd069e30fb
Show the popup over in front of the other overlays
2020-08-01 00:34:22 +02:00
Maximilian Krög
8645dbc333
Use https for mapbox tiles
2020-07-30 22:28:48 +02:00
Maximilian Krög
85e4a62553
Fix the popup in the geographic example
...
Set the container to prevent the popup from moving the element to the body.
Don't sanitze the html, as table is not in the list of allowed elements.
2020-07-28 20:21:12 +02:00
Maximilian Krög
edf5125149
Fix kml-earthquakes tooltip
2020-07-27 23:22:53 +02:00
Maximilian Krög
3be9435a70
Remove unused codepen resources, duplicate bootstrap / jquery js
...
Use push instead of setting by index, gets rid of some empty lines generated by sparse
resource array
2020-07-27 23:22:50 +02:00
Maximilian Krög
a0e487fcbd
Update jquery version to 3.5.1 for all examples
2020-07-27 21:13:00 +02:00
Maximilian Krög
594ba4a0ab
Use bootstrap 4.5.0 in all examples
2020-07-27 20:15:55 +02:00
Maximilian Krög
4deb3a2dfc
Do not load resources multiple time for codepen
2020-07-26 19:31:59 +02:00
Maximilian Krög
e51643dfca
Show correct link for codepen button
2020-07-26 19:31:59 +02:00
Maximilian Krög
e39e3ea152
Update prism js version
...
Use latest version of prism, add json formatter, copy to clipboard plugin,
and line-numbers.
Now the clipboard js is automatically loaded by prism it it not included
and the buttons are automatically initialized. Though I added some css to
match the previous style.
2020-07-26 19:31:59 +02:00
Maximilian Krög
e723061f9b
Add empty alt tag to logo
2020-07-26 19:31:57 +02:00
Maximilian Krög
f8edc928ed
The charset meta tag should be withing the first 1024 bytes
2020-07-26 19:27:11 +02:00
Maximilian Krög
8b733c2eba
Cleanup experimental notice
...
With bootstrap js always included there is no need to add own js to dismiss it.
Only generate the notice for experimental pages, no need to have js for that.
2020-07-26 19:27:11 +02:00
Maximilian Krög
4f76334c92
Script tag not allowed out side body / head
2020-07-26 19:27:11 +02:00
Maximilian Krög
281f7d7a8f
Remove unused ol.css from the example index.html
2020-07-26 19:27:09 +02:00
Maximilian Krög
e5983d262a
Add missing comma between tags / use same case as in other examples
2020-07-26 19:25:59 +02:00
Maximilian Krög
9844483364
Remove tags / duplicate url from exported info script
...
The tags are not used currently.
Adding the query string to the urls doesn't make sense as far as I understand
it.
2020-07-26 19:25:56 +02:00
Maximilian Krög
9093478016
Add modal to tag count with direct links to other examples
2020-07-25 20:40:20 +02:00
Maximilian Krög
50404ca409
Add number of occurence to tags
...
It can be a bit frustrating to click on a tag only to realise it was the
only example with that tag.
2020-07-25 14:00:53 +02:00
Maximilian Krög
217f648608
Fix quotes in tags yaml
2020-07-17 21:52:35 +02:00