Maximilian Krög
557563f331
Update scoring / indexing code
...
Add dict / word as parameters to updateScore function so it
does not need to be created in each loop, and shorten it a bit.
2020-07-17 21:52:35 +02:00
Maximilian Krög
b6404fb766
Remove unnecessary space at end of bing key
2020-07-17 21:52:35 +02:00
Maximilian Krög
856830b834
No empty string words / allow 1 character search
...
If a space character is at either end of the input string splitting it
procuces an empty string that matches everything.
Allow single character words as there are is a single character tag: `x`
2020-07-17 21:52:34 +02:00
Maximilian Krög
b41a43cb7f
Simplify sorting of the examples by precalculating the score / words
2020-07-17 21:52:34 +02:00
Maximilian Krög
687795ba24
Skip listing all examples if query param is set.
...
Also use the `input` event instead of `keyup` and addEventlistener instead
of setting the onload / onchange properties.
And handle space character encoded as `+` in query string correctly.
2020-07-17 21:52:34 +02:00
Maximilian Krög
84463c3030
Make example builds repeatable
2020-07-17 21:52:27 +02:00
Maximilian Krög
292ff812fe
Split searching and listing
2020-07-17 21:18:53 +02:00
Maximilian Krög
dc05cacefa
Prettier code
...
This also fixes two undeclared variables and the regex is only created once per word
2020-07-17 21:18:53 +02:00
Maximilian Krög
681fc155a7
Move js code into separate file to benefit from code analysis
2020-07-17 21:18:47 +02:00
MoonE
353de14624
Update config/jsdoc/api/template/tmpl/navigation.tmpl
...
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com >
2020-07-17 16:17:07 +02:00
Olivier Guyot
15553f7aec
Merge pull request #11197 from RydingM/master
...
Added '&&' logical operator to expressions
2020-07-17 14:37:12 +02:00
Stéphane Brunner
f6061f0589
Don't creates too many canvas
2020-07-17 11:22:29 +02:00
Maximilian Krög
434ac3141f
Allow line breaks before slashes in apidoc navigation
2020-07-16 21:51:29 +02:00
michael ryding
b25d7bc58a
Added all and any operator
2020-07-16 09:03:00 +01:00
Andreas Hocevar
f8732cd0a8
Merge pull request #11283 from yonzmeer/remove-update-while-from-vector-image
...
Remove update while interacting/animating from VectorImage
2020-07-16 08:11:28 +02:00
yonzmeer
4001b0c0b9
Remove update while interacting/animating from VectorImage
...
as described in issue 11250
2020-07-15 20:15:22 +03:00
Stéphane Brunner
bf24288f09
Fix for not integer pixel ratio
2020-07-15 16:37:40 +02:00
Stéphane Brunner
fd1effa992
High resolution icon
2020-07-15 16:30:24 +02:00
Stéphane Brunner
f2fe6e5957
Have high resolution regular shape
2020-07-15 10:53:20 +02:00
Andreas Hocevar
2dd9342a98
Merge pull request #11267 from ahocevar/vectortile-label-rotation
...
Fix upright labels on vector tiles
2020-07-13 18:18:24 +02:00
Olivier Guyot
f9e639c960
Merge pull request #11263 from mike-000/patch-19
...
Fix rotation reset in Mapbox-gl Layer example
2020-07-13 13:30:59 +02:00
Andreas Hocevar
aca3d49550
Merge pull request #11275 from openlayers/dependabot/npm_and_yarn/puppeteer-5.1.0
...
Bump puppeteer from 5.0.0 to 5.1.0
2020-07-13 13:27:26 +02:00
Andreas Hocevar
f3a67e8182
Merge pull request #11268 from ahocevar/cache-size
...
Cache size
2020-07-13 11:57:49 +02:00
Andreas Hocevar
b9d6ae4fca
Merge pull request #11274 from openlayers/dependabot/npm_and_yarn/rollup-2.21.0
...
Bump rollup from 2.19.0 to 2.21.0
2020-07-13 11:57:06 +02:00
dependabot-preview[bot]
6bc789641d
Bump puppeteer from 5.0.0 to 5.1.0
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.0.0...v5.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-13 09:53:10 +00:00
dependabot-preview[bot]
cafa2d2bd6
Bump rollup from 2.19.0 to 2.21.0
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.19.0 to 2.21.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.19.0...v2.21.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-13 09:53:02 +00:00
Andreas Hocevar
17091bf5d4
Merge pull request #11273 from openlayers/dependabot/npm_and_yarn/yargs-15.4.1
...
Bump yargs from 15.4.0 to 15.4.1
2020-07-13 11:50:52 +02:00
mike-000
b896fd0010
specify font family
2020-07-13 10:47:03 +01:00
mike-000
49a4344446
reinsert experimental: tag
2020-07-13 10:43:21 +01:00
dependabot-preview[bot]
7da490c2ac
Bump yargs from 15.4.0 to 15.4.1
...
Bumps [yargs](https://github.com/yargs/yargs ) from 15.4.0 to 15.4.1.
- [Release notes](https://github.com/yargs/yargs/releases )
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/yargs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-13 09:07:20 +00:00
Andreas Hocevar
d97edd28e5
Merge pull request #11271 from mike-000/patch-20
...
Make style override CSS compatible with importing ol.css and with IE
2020-07-12 16:09:55 +02:00
mike-000
8321cc6fbf
remove dependence on container div
2020-07-12 14:15:49 +01:00
mike-000
54fc7439b4
make style override consistent with other examples
2020-07-12 13:47:02 +01:00
mike-000
30d48573a7
make compatible with ol.css import
2020-07-12 13:04:34 +01:00
mike-000
635f380a9d
make compatible with ol.css import
2020-07-12 12:57:25 +01:00
mike-000
6ea784ae1b
make compatible with ol.css import
2020-07-12 12:54:14 +01:00
mike-000
d8a440ba4a
make compatible with ol.css import and with IE
2020-07-12 12:45:22 +01:00
mike-000
942b306a97
make compatible with ol.css import and with IE
2020-07-12 12:45:14 +01:00
mike-000
2bc3f2ed73
remove dependence on container div
2020-07-12 12:28:41 +01:00
mike-000
896352bd8b
remove container div
2020-07-12 12:21:05 +01:00
Andreas Hocevar
14b7b1d993
Fix handling of events originating from overlayContainerStopEvent children
2020-07-12 13:15:11 +02:00
Andreas Hocevar
18d96a2205
Auto-grow tile cache from zero
2020-07-11 20:32:54 +02:00
Andreas Hocevar
0167c2760e
Grow cache size dynamically
2020-07-11 18:04:07 +02:00
Andreas Hocevar
6ec49d5ee0
Fix upright labels on vector tiles
2020-07-11 17:55:34 +02:00
mike-000
bee05bbd24
update to latest mapbox gl version
2020-07-10 21:47:31 +01:00
mike-000
233269d56c
add missing import
2020-07-10 18:27:35 +01:00
mike-000
960fad2fc7
Fix rotation reset and add attributions
2020-07-10 18:16:32 +01:00
mike-000
63135dadf6
Reset font size changed by Mapbox CSS
2020-07-10 17:58:17 +01:00
mike-000
5461a1dafd
Add files via upload
2020-07-10 17:53:44 +01:00
mike-000
d99f58d7ff
update mapbox gl version
2020-07-10 17:45:25 +01:00