Tim Schaub
70f5822217
Merge pull request #9430 from lutzhelm/iiif
...
Adds IIIF Image API tile source
2019-05-10 06:32:28 -06:00
Frederic Junod
d1fe22a872
Simplify mapboxgl control container removal
2019-05-10 12:39:39 +02:00
Frederic Junod
5756003c88
Don't create temporary arrays in mapbox-layer example
2019-05-10 10:59:15 +02:00
Frederic Junod
e5e2129a88
Use toLonLat function in mapbox-layer example
2019-05-10 10:48:45 +02:00
Frederic Junod
c5e6728d6d
Update mapbox-gl to version 0.54.0
2019-05-10 10:48:21 +02:00
Lutz Helm
40ea2a8b7e
Remove extent definition from IIIF example
...
See
https://github.com/openlayers/openlayers/pull/9430#pullrequestreview-232616993
2019-05-09 18:00:18 +02:00
Lutz Helm
7bfaa3b6ad
Refactor IIIFInfo and add tests
2019-05-09 18:00:18 +02:00
Lutz Helm
0cffee6f83
Rename IIIFInfo format methods for more clarity
2019-05-09 18:00:18 +02:00
Lutz Helm
66b5b5d7e1
Cleanup IIIF example code
2019-05-09 18:00:18 +02:00
Lutz Helm
3cf9b5aa28
Add zDirection option to IIIF tile source
2019-05-09 18:00:18 +02:00
Lutz Helm
01a6381756
Change the IIIF image example image
2019-05-09 18:00:18 +02:00
Lutz Helm
c00400c500
Add IIIF Image API tilesource with example
...
src/ol/source/IIIF.js contains a tile source for IIIF Image API services.
It supports Image API version 1 and 2 on compliance levels 0, 1 and 2.
To get working constructor options for IIIF from an IIIF image info.json,
use src/ol/format/IIIFInfo.js.
An example is available in examples/iiif.html respectivly examples/iiif.js.
2019-05-09 18:00:18 +02:00
Frederic Junod
f5ae41f03e
Compare Date with Date instead of number
2019-05-07 14:54:46 +02:00
Frederic Junod
bd57128ca4
Remove unsupported condition property
...
There's no `condition` property for the Extent interaction
2019-05-07 14:54:46 +02:00
Frederic Junod
5012e4987c
Don't use View#constrainCenter function
2019-05-07 14:54:46 +02:00
Tim Schaub
d95bcc8594
Merge pull request #9487 from tschaub/examples-layout
...
Avoid header expanding over examples
2019-05-03 08:28:27 -06:00
Frederic Junod
68a29f1ac6
Set the 'lang' attribute to the html tag in examples
2019-05-03 11:32:33 +02:00
Tim Schaub
6413badada
Avoid header expanding over examples
2019-05-02 18:31:56 -06:00
Tim Schaub
3b1a415d6b
Call the color callback once per feature
2019-04-28 14:09:31 -06:00
Tim Schaub
9a12a668a2
Merge pull request #9452 from tschaub/color-callback
...
Fewer calls to the WebGL color callback
2019-04-24 09:46:41 -06:00
Frederic Junod
2f6f110fa3
Remove constrainResolution property in fit options
2019-04-23 10:19:21 +02:00
Frederic Junod
93c25d4f82
Export the map viewport instead of the layers
...
And filter out the controls elements
2019-04-23 10:17:16 +02:00
Frederic Junod
2ac1095c52
Use html-to-image instead of dom-to-image-more
...
dom-to-image-more do not support safari
2019-04-23 09:58:31 +02:00
Tim Schaub
154265a2d9
Fewer calls to the color callback
2019-04-19 13:49:53 -07:00
Tim Schaub
a71a823676
Merge pull request #9440 from tschaub/csv-parsing
...
Skip the header and bad data in CSV parsing
2019-04-17 23:25:02 -07:00
ahocevar
887d8e8a90
Disable opacity transition for raster source sources
2019-04-17 17:38:50 -07:00
Tim Schaub
fc0ed7b96f
Skip the header and bad data
2019-04-17 16:26:40 -07:00
Olivier Guyot
8fb6ed5c6f
Add a new webgl example with real time feature filtering
2019-04-02 23:46:13 +02:00
Frederic Junod
d5f92843a9
Remove unnecessary css in examples
2019-03-18 16:19:01 +01:00
Frederic Junod
5f8450d67d
Set map div size in example send to codesandbox
2019-03-15 13:53:58 +01:00
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