Frederic Junod
2f28f89c59
Create codesandbox using the 'parcel' template
...
The default template is `create-react-app` and this one ignores the `head` tag defined in out `index.html`
2019-03-14 15:08:01 +01:00
Frederic Junod
76aa26e3e9
Change CSS class for tooltips in measure example
2019-03-11 14:24:57 +01:00
Andreas Hocevar
dfabcc0c66
Merge pull request #9137 from jahow/add-view-constrain-extent-2
...
Refactor the way view constraints are handled & add a view extent constraint
2019-03-11 10:38:31 +01:00
Frederic Junod
425cd19922
Add a new font line height option in vector-label example
2019-03-09 09:59:57 +01:00
Andreas Hocevar
0995f95ef1
Fix typo in extent-constrained example
...
Co-Authored-By: jahow <olivier.guyot@camptocamp.com >
2019-03-04 18:11:15 +01:00
Frederic Junod
c01dee0884
Update Bing's imagerySet used in examples
2019-02-28 10:43:59 +01:00
Andreas Hocevar
6fd83b9a8e
Merge pull request #9277 from ahocevar/rotate-token
...
Rotate API token
2019-02-27 18:38:34 +01:00
ahocevar
05712acfef
Rotate API token
2019-02-27 18:31:50 +01:00
Christian Mayer
530e47d26c
Remove IFrame usage in GetFeatureInfo img example
...
This replaces the loading of the GetFeatureInfo request via IFrame by a
fetch operation in the GetFeatureInfo image example.
2019-02-27 09:55:59 +01:00
Christian Mayer
85f2312370
Remove IFrame usage in GetFeatureInfo tile example
...
This replaces the loading of the GetFeatureInfo request via IFrame by a
fetch operation in the GetFeatureInfo tile example.
2019-02-27 09:55:59 +01:00
Frederic Junod
734900f1d7
Add missing ol.css in mobile-full-screen example
2019-02-26 08:39:39 +01:00
Olivier Guyot
c2af03f152
Update the View documentation & document breaking changes
2019-02-22 15:04:54 +01:00
Olivier Guyot
7835869582
Add an extent restriction on the mapbox layer example
...
This fixes a bug where the OL map would allow much larger resolution than
mapbox.
2019-02-22 15:01:30 +01:00
Olivier Guyot
49662b019c
View / add a constrainResolution option
...
This introduces a breaking change.
This options replaces the various `constrainResolution` options on interactions
and the `fit` method.
Since constraints are now the responsibility of the View, the fact that intermediary
zoom levels are allowed or not is now set in the view options.
By default, the view resolution is unconstrained.
2019-02-22 15:01:30 +01:00
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