Commit Graph

3529 Commits

Author SHA1 Message Date
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
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
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
mike-000
64167a5d7e Use condition instead of setActive and listeners 2020-06-18 15:31:33 +01:00
Andreas Hocevar
f3d5bfc1d3 Use pepjs in examples to support more old/exotic browsers 2020-06-17 08:49:54 +02:00
Andreas Hocevar
323a472fbb Merge pull request #11037 from mike-000/patch-11
Allow icon and text styles to be scaled in two dimensions
2020-06-13 10:00:06 +02:00
Andreas Hocevar
886ca26c6a Remove elm-pep dependency 2020-06-11 13:11:28 +02:00
Björn Harrtell
aa6ee5b74a Update JSTS example to use JSTS 2.3.0 2020-06-06 21:18:32 +02:00
Andreas Hocevar
7bce841fba No autocomplete for example search field 2020-05-29 08:52:14 +02:00
mike-000
cf0e650435 allow scale to be two dimensional
add getScaleArray() method

test two dimension scale icons
test two dimension scale text

add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
Tim Schaub
7f8a1b64bd Update usage of copy-webpack-plugin 2020-05-18 10:16:15 -06:00
Tim Schaub
19c5dd1ff6 Remove personal Mapbox key 2020-05-16 13:25:29 -06:00
mike-000
9a8b9d8ade add Image source imageSmoothing option
Add Image smoothing checkbox to example

Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Tim Schaub
8ea2fe1298 Merge pull request #10996 from tschaub/mapbox-vector-layer
Mapbox vector layer
2020-05-04 08:01:15 -06:00
Tim Schaub
cd27a13a42 Show the main.js right below the map 2020-05-03 16:27:51 -06:00
Tim Schaub
4d9975754f Mapbox vector layer 2020-05-03 16:07:27 -06:00
mike-000
51ad3824e3 correctly close bold font tag 2020-04-30 10:24:59 +01:00
Simon Daron
74901efc59 Set base layer extent 2020-04-27 16:41:58 +02:00
Simon Daron
8cfe994ff0 Improve example with a background layer, intersect and comments 2020-04-26 13:27:27 +02:00
Simon Daron
71f056c75c Use prerender and postrender events on Vector Clipping Layer example for better readability 2020-04-25 06:54:09 +02:00
mike-000
6519b54647 fix prettier 2020-04-17 00:08:11 +01:00
mike-000
71b866947f read and set features in custom tileLoadFunction 2020-04-17 00:01:28 +01:00
mike-000
7d2e367fd0 fix prettier 2020-04-16 22:18:40 +01:00
mike-000
25b0cce8ed fix prettier 2020-04-16 22:13:12 +01:00
mike-000
3bac7acb48 Use the tile coordinate as a pseudo URL
Use the unique tile coordinate as a pseudo tile URL instead of a GeoJSON data URL which may not be unique
2020-04-16 21:40:38 +01:00
sambakk
c9b765c243 Correct the attribution with the right link, icon and icon title 2020-04-12 15:46:14 +01:00
sambakk
2451a75238 Replace the dead links of the Géoportail API web page & Descriptif technique des web services du Géoportail 2020-04-12 15:24:46 +01: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
Andreas Hocevar
e951a3c7d5 Fix dependency source management for examples 2020-04-06 16:51:22 +02:00
Andreas Hocevar
77763991dc Merge pull request #10537 from mike-000/patch-3
Correct resolution used for scale bar and add dpi option
2020-04-04 09:53:54 +02:00
mike-000
6006fb2c03 base minWidth on default dpi & remove setMinWidth 2020-04-03 17:11:20 +01:00
mike-000
362df3439e update description 2020-04-02 23:51:36 +01:00
mike-000
dfcc649c59 Merge branch 'master' into patch-4 2020-04-02 22:37:36 +01:00
mike-000
f4a3a3bc70 remove prerender context setting 2020-04-02 22:32:30 +01:00
mike-000
1cd4d37c45 change option name to imageSmoothing 2020-04-02 18:44:07 +01:00
mike-000
23fe5463fa use dom-to-image-more 2020-04-02 14:59:58 +01:00
mike-000
ab006abf25 use dom-to-image-more 2020-04-02 14:59:57 +01:00
mike-000
b56ca954d5 avoid classname conflict with example template 2020-04-02 14:59:55 +01:00
mike-000
e6658aec1e add domtoimage 2020-04-02 14:59:54 +01:00
mike-000
e2ac566c05 Correct resolution used for scale. Add dpi option.
Also add setDpi and setMinWidth methods

Add Print to scale example
2020-04-02 14:59:54 +01:00
Tim Schaub
a073c5ab1e Merge pull request #10859 from SDaron/clipping-layer
Add an example of clipping layer based on a vector source
2020-04-01 03:59:58 -06:00
Simon Daron
23c2e1062c Add an example of clipping layer based on a vector source 2020-04-01 10:08:37 +02:00