MoonE
bb98f178b3
Merge pull request #14039 from MoonE/improve-examples
...
Improve some examples
2022-08-23 19:51:32 +02:00
Maximilian Krög
c528936519
Set cartodb initial map state from input
2022-08-22 19:35:52 +02:00
Maximilian Krög
defb6875d7
Sync form state with map on load
2022-08-22 19:35:52 +02:00
Maximilian Krög
a10c93d331
Remove tooltip when mouse leaves map or is over control is examples
2022-08-22 19:35:52 +02:00
MoonE
62914bb3df
Merge pull request #13996 from MoonE/bootstrap-5
...
Update to bootstrap 5.2
2022-08-22 19:31:23 +02:00
Maximilian Krög
ebfee35a78
Add missing bootstrap css to two examples
2022-08-22 19:26:24 +02:00
Maximilian Krög
38a67ad575
Improve update prompt grammar on download page
2022-08-22 19:26:24 +02:00
Maximilian Krög
fd9c3de002
Drop domain from link
2022-08-22 19:26:24 +02:00
Maximilian Krög
6f3d40cb93
Upgrade jquery to 3.6.0
2022-08-22 19:26:24 +02:00
Maximilian Krög
aa7be0baeb
Remove jquery from example index page
2022-08-22 19:26:24 +02:00
Maximilian Krög
8d1d1b0680
Update examples to use new bootstrap tooltip
2022-08-22 19:26:23 +02:00
Maximilian Krög
523a33c81a
Update example styles to work with bootstrap 5.2
2022-08-22 19:26:23 +02:00
Maximilian Krög
bc9a6f230c
Update to bootstrap 5.2
2022-08-22 19:26:23 +02:00
Maximilian Krög
559712f728
Fix some invalid html markup and some inconsistencies
2022-08-22 19:26:18 +02:00
MoonE
0b326d9fa5
Merge pull request #13988 from MoonE/fix-theme-dir
...
Fix copying of non-linked ol.css, clean example build
2022-08-15 22:41:44 +02:00
MoonE
688fc7e43f
Merge pull request #13982 from MoonE/kml-timezone
...
Fix kml-timezone example calculations
2022-08-15 21:32:58 +02:00
Maximilian Krög
d82405666c
Fix copying of non-linked ol.css, clean example build
2022-08-15 21:21:04 +02:00
Maximilian Krög
cdc3235c89
Fix kml-timezone example calculations
...
- The parsed minutes had the wrong sign when the offset is negative.
- When calculating the local time, the minutes should be subtracted instead of added
- Fix a data error in the kml, a fullstop was used instead of a colon.
2022-08-15 00:01:48 +02:00
MoonE
adc9a5318e
Merge pull request #13977 from MoonE/examples
...
Fix some errors in examples
2022-08-14 18:03:22 +02:00
Maximilian Krög
74a8759e3b
Fix topolis example
...
toastr did not work because jquery has to bo loaded before toastr.
2022-08-14 16:44:43 +02:00
Maximilian Krög
9109ab8407
Only load lzstring script when clicking Edit
2022-08-14 16:36:49 +02:00
Maximilian Krög
5fb74d21e5
Some improvements to the edit-example script
2022-08-14 16:36:48 +02:00
Maximilian Krög
cf42592f78
Remove unused clipboard script
...
prism seems to no longer need it
2022-08-14 16:36:48 +02:00
Maximilian Krög
259e3fe1c9
Fix ol.css for some examples
...
- es2015-custom-element needs css variables declared in :host
- external-map-map still does not work when editing in codesandbox,
though that neither worked before.
2022-08-14 16:36:48 +02:00
Maximilian Krög
839e1d1c65
Use non-symlinked ol.css for example-builder
...
File watching does not seem to work with symlinks
2022-08-14 16:36:48 +02:00
MoonE
3cbb40b943
Merge pull request #13978 from MoonE/fontawesome-6
...
Update FontAwesome to v6.1.2
2022-08-14 16:32:19 +02:00
Maximilian Krög
bc65f2d704
Update FontAwesome to v6.1.2
2022-08-13 23:10:31 +02:00
MoonE
dd1edc37ca
Merge pull request #13971 from MoonE/remove-ie-compatibility
...
Remove more IE compatibility
2022-08-12 00:38:47 +02:00
Maximilian Krög
5c4339f367
Remove more IE compatibility
2022-08-12 00:26:25 +02:00
Maximilian Krög
f971393ee0
Correct import statement for default exported methods
2022-08-11 22:40:14 +02:00
MoonE
1bcc7770b0
Merge pull request #13957 from MoonE/util-version
...
Replace VERSION in un-transpiled source
2022-08-09 09:20:13 +02:00
MoonE
6d822bc790
Merge pull request #13958 from MoonE/const
...
Use const in docs and other places
2022-08-09 09:18:59 +02:00
MoonE
9f82a14f44
Merge pull request #13959 from MoonE/add-missing-new-lines
...
Add few missing new lines in example source listing
2022-08-09 09:17:12 +02:00
MoonE
67d90f2634
Merge pull request #13956 from MoonE/error-in-api-pages
...
Fix js error in api pages on load
2022-08-09 00:42:59 +02:00
Maximilian Krög
5fb69b1de1
Some more small code improvements
2022-08-09 00:28:41 +02:00
Maximilian Krög
5b8d810f80
Use const in more places
2022-08-09 00:25:30 +02:00
Maximilian Krög
f28a9c22e1
replace VERSION in un-transpiled source
2022-08-09 00:20:04 +02:00
Maximilian Krög
be324fbcb0
Fix js error in api pages on load
2022-08-09 00:12:33 +02:00
Maximilian Krög
2c9cf00126
Fix source formatting for some examples
...
For some css or html files a missing new line at end of file will
concatenate the last line with the following style or script tag
2022-08-08 22:17:17 +02:00
Maximilian Krög
7404397529
Improve example-builder code
...
Reduce amount of async calls and some other small changes
2022-08-08 22:13:48 +02:00
MoonE
ef09482505
Merge pull request #13943 from MoonE/scaleline
...
Scaleline
2022-08-07 23:52:26 +02:00
MoonE
2c1c76c24e
Merge pull request #13942 from MoonE/kmz
...
Improve loading of kmz file in example
2022-08-07 23:51:52 +02:00
Maximilian Krög
03a16e3444
Use a range input to select the number of steps (1 to 8)
2022-08-07 00:45:14 +02:00
Maximilian Krög
436a4ca597
Add color invert option to scale-line example
2022-08-07 00:44:31 +02:00
Maximilian Krög
e10432260f
Cleanup scale-line example
2022-08-07 00:43:06 +02:00
Maximilian Krög
f7cb9b9fdf
Invert displayed scale for very high zoom levels
...
This prevents a scale of '1 : 0' being displayed and instead displays
'scale : 1'
2022-08-06 23:16:25 +02:00
Maximilian Krög
564d9d7685
Set pointer-event: none for ScaleLine
...
There is no reason to interact with this control and for the
`bar` option the blocked rect may be unexpectedly large
2022-08-06 23:16:25 +02:00
Maximilian Krög
ff79897f06
Fix default value docs for ScaleLine class option
2022-08-06 23:16:25 +02:00
Maximilian Krög
97f0e70447
Remove unnecessary code
...
Remove unnecessary nested div element
Don't number to string to number
2022-08-06 23:16:25 +02:00
Maximilian Krög
e0cbb6daa8
Cleanup ScaleLine code
2022-08-06 23:16:15 +02:00
Maximilian Krög
4504f139af
Improve loading of kmz file example
...
- The href will always start with path as it is sliced starting from 0
Not sure if it is possible that window locatin does not have a slash
unless its some about:-page.
- Should be possible to query for the file name directly without regex,
if the filename contains special regex characters it may behave
unexpectedly
2022-08-06 21:59:08 +02:00
MoonE
b0306828a7
Merge pull request #13941 from MoonE/kml-default-icon-anchor
...
Fix KML default icon anchor with https icon url
2022-08-06 21:09:01 +02:00
Maximilian Krög
f2e82ba1e4
Fix default icon anchor with https icon url
2022-08-06 11:11:24 +02:00
MoonE
854300181a
Merge pull request #13937 from MoonE/use-nicer-functions
...
Use nicer functions, remove old code
2022-08-05 21:19:38 +02:00
Maximilian Krög
403b06b438
Use RegExp#test intead of String#match
2022-08-05 01:49:16 +02:00
Maximilian Krög
81c10fa609
Remove accessing legacy RegExp.$ instead of match return value
2022-08-05 01:49:16 +02:00
Maximilian Krög
bb3c5bf144
Use String#startsWith instead of String#indexOf
2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321
Use includes instead of indexOf
2022-08-05 01:49:01 +02:00
Maximilian Krög
5e34b9aa20
Fix print-to-scale ignore collapsible attribution
2022-08-05 01:32:50 +02:00
Maximilian Krög
31ed30923d
Remove array.includes
2022-08-05 01:26:25 +02:00
MoonE
f2c4e26468
Merge pull request #13936 from MoonE/array-from
...
Remove workaround for missing TypedArray.from function
2022-08-05 01:10:37 +02:00
Maximilian Krög
e1e19cbd03
Remove workaround for missing TypedArray.from function
2022-08-04 23:36:00 +02:00
MoonE
c6d0d803f9
Merge pull request #13933 from MoonE/set-line-dash
...
Remove check for context.setLineDash
2022-08-04 08:59:24 +02:00
Maximilian Krög
ef82bbd83a
Remove check for context.setLineDash
2022-08-03 22:25:19 +02:00
MoonE
15329aad00
Merge pull request #13915 from MoonE/fix-map-render-test
...
Fix map render test
2022-07-31 21:17:42 +02:00
Maximilian Krög
e3987dfdbf
Fix Map render test
...
The value set to id2 was never read, postrender fires in renderSync
2022-07-31 20:04:59 +02:00
Maximilian Krög
b2d2f44f43
No need to wait for postrender in Map test
2022-07-31 20:04:55 +02:00
MoonE
b534368394
Merge pull request #13911 from MoonE/remove-mouse-position-undefined-html
...
Remove MousePosition's deprecated undefinedHTML option
2022-07-31 10:09:31 +02:00
MoonE
0992787d7a
Merge pull request #13912 from MoonE/always-use-global-composite-opertion-for-icon-image-color
...
Remove IconImage color fallback for IE
2022-07-31 09:59:43 +02:00
Maximilian Krög
7c81cb41a8
Remove IconImage color fallback for IE
2022-07-31 02:29:20 +02:00
Maximilian Krög
417753422e
Remove unused 2nd parameter for querySelector call
...
I guess the intention was to only serch for nodes contained in the
2nd parameter. That should have been `node.querySelector('...')`
but it doesn't matter in the test environment.
2022-07-31 02:23:35 +02:00
Maximilian Krög
c90c4c84c5
Remove MousePosition's deprecated undefinedHTML option
...
Simplify the placeholder option to only accept strings or undefined.
2022-07-31 02:23:35 +02:00
MoonE
f276f3f47f
Merge pull request #13907 from MoonE/remove-ms-image-smoothing-enabled
...
Remove IE fallbacks
2022-07-30 23:58:55 +02:00
MoonE
a575631f88
Merge pull request #13910 from MoonE/export-map-codesandbox
...
Fix editing of export-map example on codesandbox
2022-07-30 23:57:22 +02:00
Maximilian Krög
d747216180
Fix editing of export-map example on codesandbox
2022-07-30 23:27:21 +02:00
Maximilian Krög
4c13ef13c9
Remove textContent fallback for IE
2022-07-30 23:06:59 +02:00
Maximilian Krög
5f8a83b6d8
Remove fullscreen handling fallback for IE
2022-07-30 22:59:26 +02:00
Maximilian Krög
e0fd784c16
Remove msSaveBlob fallback for IE
2022-07-30 22:58:47 +02:00
Maximilian Krög
e56bda5848
Remove IE css fallback
2022-07-30 22:57:51 +02:00
Maximilian Krög
6a6d2cd612
Remove IE image smoothing fallback
2022-07-30 22:36:32 +02:00
MoonE
37aaf8ed4b
Merge pull request #13902 from MoonE/type-safe-collection
...
Improve Collection type-safety
2022-07-30 21:38:48 +02:00
Maximilian Krög
75c17e55b1
Improve Collection type-safety
2022-07-30 21:30:35 +02:00
Maximilian Krög
6e4e49644d
Prevent inserting undefined into Collection
2022-07-30 20:27:36 +02:00
MoonE
e17640c95a
Merge pull request #13905 from MoonE/replace-enums
...
Replace enums with typedefs
2022-07-30 18:12:34 +02:00
Maximilian Krög
14c2c31d4c
Replace RasterOperationType enum with typedef
2022-07-30 15:06:13 +02:00
Maximilian Krög
2caa071a08
Replace MouseWheelZoom Mode enum with typedef
2022-07-30 15:06:12 +02:00
Maximilian Krög
7ac61fdc70
Replace proj/Units enum with typedef
2022-07-30 15:06:12 +02:00
Maximilian Krög
361f1ab837
Replace VectorTileRenderType enum with typedef
2022-07-30 15:06:12 +02:00
Maximilian Krög
7f2f789d7f
Remove deprecated 'image' render mode option
2022-07-30 15:06:12 +02:00
Maximilian Krög
806843f449
Don't fire remove event when Collection remains unchanged
2022-07-30 03:17:48 +02:00
Maximilian Krög
6f539c9ca4
Test removeAt does not fire event for invalid index
2022-07-30 03:13:37 +02:00
Maximilian Krög
217230172b
Make VectorSource Options generic
2022-07-30 03:13:37 +02:00
MoonE
dce24cfe40
Merge pull request #13901 from MoonE/text-types
...
Make Text options typesafe
2022-07-30 01:34:28 +02:00
Maximilian Krög
a076899470
Make Text options typesafe
2022-07-29 21:24:46 +02:00
MoonE
59d3206173
Merge pull request #13871 from openlayers/dependabot/npm_and_yarn/puppeteer-15.5.0
...
Bump puppeteer from 15.4.0 to 15.5.0
2022-07-28 01:45:33 +02:00
MoonE
6682f45015
Merge pull request #13870 from openlayers/dependabot/npm_and_yarn/webpack-5.74.0
...
Bump webpack from 5.73.0 to 5.74.0
2022-07-28 01:43:38 +02:00
MoonE
14133a05a8
Merge pull request #13868 from MoonE/remove-for-each-layer-at-pixel
...
Remove deprecated method PluggableMap#forEachLayerAtPixel ...
2022-07-26 01:01:42 +02:00
Maximilian Krög
2897f03ea5
Remove deprecated method PluggableMap#forEachLayerAtPixel
2022-07-26 00:57:21 +02:00
MoonE
4b6c3d408a
Merge pull request #13869 from MoonE/remove-unused-assertion-numbers
...
Remove unused assertion numbers
2022-07-25 09:16:52 +02:00
Maximilian Krög
0d178d7baa
Remove unused assertion numbers
2022-07-24 23:34:04 +02:00