jeanpierre
6f59216974
tooltip bs on fullscreen
2020-08-02 20:41:30 +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
Andreas Hocevar
7b297283f2
Load pointer events polyfill - before other polyfills
2020-07-30 21:01:10 +02:00
Andreas Hocevar
4f0f81c802
Cloak API key with instructions where to get one
2020-07-30 09:39:34 +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
jipexu
322410e114
update link ti BS doc
2020-07-28 00:54:59 +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
Andreas Hocevar
07a7031d48
Merge pull request #11322 from jipexu/master
...
same dropdown hover than the site
2020-07-26 19:12:26 +02:00
Andreas Hocevar
06f8aea1d1
Merge pull request #11320 from jipexu/patch-2
...
margin bottom for dropdown
2020-07-26 19:11:27 +02:00
jeanpierre
7dcddf4ec7
Update layout.css
2020-07-26 18:41:42 +02:00
jipexu
50ec168a1b
margin bottom for dropdown
2020-07-26 18:04:47 +02:00
jipexu
4b6e440610
dropdown margin bottom
2020-07-26 18:02:24 +02:00
Andreas Hocevar
2b23052d23
Mark active nav item
2020-07-26 17:41:16 +02:00
Andreas Hocevar
f70374e453
Make header and menu navigation consistent with web site
2020-07-26 17:15:49 +02:00
Andreas Hocevar
5b84b2470c
Merge pull request #11277 from sbrunner/hires-regularshape-master
...
Have high resolution regular shape
2020-07-26 12:39:44 +02:00
Andreas Hocevar
c144c7265e
Example doc and color changes
2020-07-26 12:13:16 +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
jeanpierre
9616dee9f7
Update bootstrap, cleanup css, make pages more responsive
2020-07-23 12:32:27 +02:00
Andreas Hocevar
3a269045f2
Do not extract comments to avoid asset name conflicts
2020-07-22 21:53:38 +02:00
Petr Sloup
84ae3d16a6
Replace/remove usage of tileserver.maptiler.com
2020-07-22 09:55:27 +02:00
Maximilian Krög
217f648608
Fix quotes in tags yaml
2020-07-17 21:52:35 +02:00
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
Stéphane Brunner
fd1effa992
High resolution icon
2020-07-15 16:30: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
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
mike-000
8321cc6fbf
remove dependence on container div
2020-07-12 14:15:49 +01:00