Frederic Junod
5b8b470568
Fix imports in jsdoc blocks
2018-09-03 09:41:00 +02:00
Frederic Junod
3c02bd15fb
Add missing 'extent' property in TileImage constructor
2018-09-03 09:41:00 +02:00
Frederic Junod
5fdac622ef
Add missing 'extent' property in VectorTile constructor
2018-09-03 09:41:00 +02:00
Frederic Junod
25c1754052
Cast empty optional options in constructor
...
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02:00
Andreas Hocevar
a30f8859aa
Merge pull request #8569 from ahocevar/simpler-faster-proj-get
...
Make proj~get simpler and faster
2018-08-31 16:33:08 +02:00
ahocevar
9eeacc585f
Make proj~get simpler and faster
2018-08-31 12:19:23 +02:00
Frederic Junod
20a347b0c9
Use 'Element' type instead of 'Node'
2018-08-31 11:36:16 +02:00
Frederic Junod
db04052b7a
Fix default zIndex value and documentation for layer options
2018-08-29 11:33:09 +02:00
Frédéric Junod
2342ec90aa
Merge pull request #8481 from gberaudo/expose_some_internal_functions
...
Expose some internal functions
2018-08-23 10:42:19 +02:00
Andreas Hocevar
ea9517ffd5
Merge pull request #8510 from gberaudo/fix_WMTS_dimensions_handling
...
Fix WMTS URLs with dimensions
2018-08-22 13:31:53 +02:00
Frédéric Junod
d84c64b3e7
Merge pull request #8524 from NeoRaider/xhtml-fixes
...
Fix compatiblity with XHTML content type
2018-08-22 13:13:22 +02:00
ahocevar
1baa8be269
Add 'rendercomplete' event
2018-08-22 09:53:24 +02:00
Tino Desjardins
b56a7c0fa3
Update link to base class in docs
2018-08-20 17:03:59 +02:00
Tino Desjardins
1605741a92
Update link to base class in docs
2018-08-20 10:23:22 +02:00
Tim Schaub
68cf960028
Re-export Projection from ol/proj for convenience
2018-08-18 14:14:10 -06:00
Matthias Schiffer
94c6afd65d
Avoid HTML entities like and ©
...
Use numerical entities instead for XHTML compatiblity.
2018-08-18 13:13:27 +02:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
Andreas Hocevar
07cb678271
Merge pull request #8499 from ahocevar/focus
...
Round center in viewState to pixels
2018-08-16 16:41:15 +02:00
Guillaume Beraudo
315cfa1033
Fix WMTS layers URLs with dimensions
2018-08-16 15:34:56 +02:00
Andreas Hocevar
adce78e19e
Remove redundant if block
2018-08-16 07:04:53 +02:00
ahocevar
161c5b0105
Better documentation of the zIndex default
2018-08-15 11:24:29 +02:00
ahocevar
8ab1589f9a
Add getOverlay method to access sketch and selection layers
2018-08-15 10:59:38 +02:00
ahocevar
95533e2425
Use configured zIndex for unmanaged layers
2018-08-15 10:58:52 +02:00
ahocevar
b9aceb23ac
Let renderer decide whether to snapToPixel or not, also for text
2018-08-09 18:16:58 +02:00
ahocevar
f382ddf230
Remove snapToPixel option and deprecate getters/setters
2018-08-09 18:16:58 +02:00
ahocevar
dbdaa73cf2
Only change interacting flag when dragging
2018-08-09 18:16:58 +02:00
ahocevar
f3cd1d8dfd
Round center in viewState
2018-08-09 18:16:58 +02:00
ahocevar
fc19e3e12e
Avoid block scope issues in transpiled code
2018-08-09 10:22:42 +02:00
MarquesDeAzevedo
85e1f11adb
WMTS getCapabilities readCoodinates more than one whitespace delimiter
...
remove not required regexp modifier
2018-08-07 10:40:08 +02:00
MarquesDeAzevedo
47c4e1a165
WMTS getCapabilities readCoodinates more than one whitespace delimiter
...
combine split and replace
2018-08-07 09:56:17 +02:00
MarquesDeAzevedo
654073cd3d
WMTS getCapabilities readCoodinates more than one whitespace delimiter
...
Some WMTS getCapabilities return <MatrixSet><TopLeftCorner> with more than one whitespace as delimiter between the coordinates. This leads to the layer not being displayed, because the origin_ property of ol.tilegrid.TileGrid is not set.
Error in ol.tilegrid.TileGrid.prototype.getTileCoordForXYAndZ_: JavaScript runtime error: Unable to get property '0' of undefined or null reference
2018-08-07 08:40:42 +02:00
ahocevar
1eeea2aa4d
Use class method syntax instead of .prototype.method = function
2018-08-06 15:30:17 +02:00
ahocevar
2f92e48e93
Use super.method instead of prototype.method.call
2018-08-06 15:30:17 +02:00
ahocevar
c5b42c49d5
Fix Disposable's prototype handling
2018-08-06 15:30:17 +02:00
Guillaume Beraudo
abbfb5c653
Document the stableSort function
2018-08-06 10:50:18 +02:00
Guillaume Beraudo
a4178d05ef
Expose the stableSort function
...
This is a low level function, essential to OpenLayers so it is always
shipped with OpenLayers.
2018-08-06 09:18:56 +02:00
Guillaume Beraudo
dbf9048d8f
Expose the getUid function
...
It is often useful in application code to have a way to uniquely identify
and object.
Exposing the OpenLayers mechanism allows for best performance and avoid
unneccessary dirt.
2018-08-06 09:18:56 +02:00
Andreas Hocevar
824ad48488
Merge pull request #8478 from ahocevar/available-font-weights
...
Check font availability with multiple font weights
2018-08-06 06:52:53 +02:00
Frédéric Junod
d49be1393e
Merge pull request #8471 from samuel-girard/imagestatic_properties
...
Add getUrl and getImageExtent to ImageStatic API
2018-08-03 09:22:53 +02:00
Andreas Hocevar
a991bb21d6
Merge pull request #8470 from scroach/tile-api-doc
...
Update Tile loading API docs
2018-08-03 09:13:48 +02:00
Andreas Hocevar
df848d6673
Add basic tileLoadFunction example and refine advanced example
2018-08-03 09:04:24 +02:00
scroach
68ce6de0ca
Updated Tile loading API docs
2018-08-03 09:01:47 +02:00
ahocevar
62188502e9
Check font availability in 3 different weight ranges
2018-08-02 18:57:26 +02:00
Guillaume Beraudo
fe86d2e7f7
Expose original getGutter
...
TileWMS objects take a gutter option but do not have a public getter
for it. This makes it convoluted for user code to recreate the object
(ex: in the case of serialization/deserialization).
- the getGutterInternal() method is renamed to getGutter;
- the getGutter(projection) method is renamed to getGutterForProjection,
which is also more explicit.
The getGutter method was not API and is only used by the renderer.
2018-08-02 17:12:41 +02:00
Samuel Girard
4012280ad4
Use class property for url
2018-08-02 09:02:04 +02:00
Samuel Girard
e48c85a689
Add getUrl and getImageExtent to ImageStatic API
2018-08-01 12:23:38 +02:00
Andreas Hocevar
93b92d3990
Merge pull request #8466 from ahocevar/on-focus-only
...
Add onFocusOnly option to interaction defaults
2018-07-31 13:27:14 +02:00
ahocevar
55fb62c551
Add onFocusOnly option to interaction defaults
2018-07-31 09:01:42 +02:00
ahocevar
c74b9c1d55
Do not prevent default on pointermove
...
Instead, only prevent default on handled pointerdown events. This makes
the `focus` condition work with interactions that involve dragging on
touch devices.
2018-07-31 08:33:15 +02:00
Frédéric Junod
5adf0be4a3
Merge pull request #8452 from fredj/f_8409
...
Remove extra translate function in Geometry, add missing api tag
2018-07-27 15:53:53 +02:00