Olivier Guyot
1f379a06a4
View / add support for viewport extent constraint
...
This introduces a breaking change:
The `extent` view option now constrains the whole viewport and not just the
view center.
The option `constrainOnlyCenter` was added to keep the previous behaviour.
Constraining the whole viewport and not only the view center means
that the center and resolution constraints must be applied with a knowledge of
the viewport size.
2019-02-22 15:01:30 +01:00
Umberto Minora
cefb5d4d32
fixed indents checked with npm run lint
2019-02-19 11:25:12 +01:00
Umberto Minora
8eadb3d04c
Fixed indent spaces so that hopefully ci/circleci: build does not fail
2019-02-19 10:57:21 +01:00
Umberto Minora
a6023a710a
Cleared mixed spaces and tabs
2019-02-19 10:48:11 +01:00
Umberto Minora
33ac3e34ee
constrainResolution: false on view fit instead of setting the zoom
2019-02-19 10:38:23 +01:00
Firstname Lastname
df847ae35c
Fix zoom after export to PDF is done
2019-02-18 22:12:38 +01:00
Frederic Junod
e9ecea3bb7
Remove 'moz' prefix for the Full Screen API
...
Browser support: https://caniuse.com/#feat=fullscreen
2019-02-15 14:37:49 +01:00
Frederic Junod
c0a860a31f
Remove unnecessary type cast
2019-02-13 11:42:22 +01:00
Tim Schaub
63c079257f
Merge pull request #9013 from weskamm/scalebar
...
Added scalebar option to ol.control.scaleline
2019-01-22 18:04:08 -07:00
ahocevar
a0de38c1f3
Use a more resource demanding mapbox style
2019-01-20 23:43:01 +01:00
Andreas Hocevar
e6ca241a27
Merge pull request #9103 from ahocevar/fix-examples
...
Make examples more user friendly
2019-01-11 18:36:59 +01:00
ahocevar
f0d3f80663
Support scoped packages as dependencies
2019-01-11 18:16:23 +01:00
ahocevar
138cc55b34
Add Edit button for editing in codesandbox
2019-01-10 22:14:05 +01:00
ahocevar
9372bc9157
Add package.json source
2019-01-10 18:31:26 +01:00
ThomasG77
919cc85714
Fix cgiar csi URL due to #9106
2019-01-10 14:47:57 +01:00
ahocevar
f368fa1a28
Improve layout
2019-01-09 21:50:50 +01:00
ahocevar
c4c6f84bca
Separate html and js example code
2019-01-09 21:50:49 +01:00
Frederic Junod
d426e80c6b
Use dom-to-image library in export-pdf example
...
fixes #9100
2019-01-07 10:35:56 +01:00
Andreas Hocevar
0f3e410428
Merge pull request #9101 from ahocevar/load-tiles-while-animating-and-interacting
...
Always load tiles while animating and interacting
2019-01-07 10:11:08 +01:00
ahocevar
2e21b9f975
Always load tiles while animating and interacting
2019-01-06 21:29:24 +01:00
ahocevar
56a60631bc
Allow users to opt out of tracking
2019-01-02 07:36:25 +01:00
Tim Schaub
511e580c76
Merge pull request #9090 from jahow/add-webgl-points-example
...
Add texture & color to the WebGL points renderer
2018-12-29 22:12:12 -07:00
Olivier Guyot
831c23d212
Fix heatmap example for IE
2018-12-28 16:24:56 +01:00
jahow
fad7c7edb1
Added a new example for webgl icons rendering
2018-12-28 15:53:08 +01:00
Frederic Junod
457e7b96dd
Remove extra param to function
2018-12-07 11:00:05 +01:00
Frederic Junod
759b317707
Fix type notation in examples
2018-12-07 10:55:26 +01:00
Frederic Junod
cd3e65e3df
Remove unneeded type cast in examples
2018-12-07 09:55:09 +01:00
Johannes Weskamm
d4c14da4b5
Rename props, localization, fix example
2018-11-29 15:24:41 +01:00
Johannes Weskamm
97618c8611
Added scalebar option to ol.control.scaleline
2018-11-28 16:25:55 +01:00
Frederic Junod
63de0aefbe
Remove '.js' from the imports
2018-11-27 17:00:18 +01:00
Frederic Junod
4a3f70c09b
Revert "Simplify import path in examples"
...
This reverts commit 79c8afdba8 .
2018-11-27 16:49:55 +01:00
Frederic Junod
79c8afdba8
Simplify import path in examples
...
To have the same path (starting with `ol/`, without `.js`) as in the documentation.
The support was added in the webpack config in #8928
2018-11-26 17:18:52 +01:00
Frederic Junod
e66a84c897
Add imageRatio option for VectorImage layers
2018-11-22 09:38:08 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Tim Schaub
1cc49e0b23
Clearer function name for getting a render pixel
2018-11-17 16:28:28 +01:00
Tim Schaub
6cfb8f275b
Fix magnify example
2018-11-16 16:16:28 +01:00
Tim Schaub
d6add33df0
Use map and new method
2018-11-16 14:58:02 +01:00
Frederic Junod
98a780e5f9
Add missing '.js' in import
2018-11-16 14:57:17 +01:00
Florent gravin
90d46cb539
Remove blend-modes example
...
As we are not doing canvas composition anymore
2018-11-16 14:57:16 +01:00
Florent gravin
7831a591f7
Fix igc example migrating map postcompose event
2018-11-16 14:57:16 +01:00
Florent gravin
1dbe52d738
Fix layer-clipping example using right postrender events
2018-11-16 14:57:16 +01:00
Florent gravin
f73c6fab35
Fix igc example migrating map postcompose event
2018-11-16 14:57:16 +01:00
Florent gravin
eafe1bf8a3
Fix geolocation-orientation example migrating map postcompose event
2018-11-16 14:57:16 +01:00
Florent gravin
039af41af1
Unbind postrender event in feature-move-animation example
2018-11-16 14:57:16 +01:00
Florent gravin
a924834920
Fix feature-animation example migrating map postcompose event
2018-11-16 14:57:15 +01:00
Florent gravin
3bf9a54ed5
Fix dynamic-data example migrating map postcompose event
2018-11-16 14:57:15 +01:00
Florent gravin
91bd144f0e
Update post/pre render event doc usage in examples
2018-11-16 14:57:15 +01:00
Florent gravin
160e9e8056
Fix image-filter example using right postrender events
2018-11-16 14:57:15 +01:00
Florent gravin
c5b7c5febb
Fix magnify example using right postrender events
2018-11-16 14:57:15 +01:00
Florent gravin
3cba5ffbe2
Fix swipe example using right post/pre render events
2018-11-16 14:57:15 +01:00