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
Frédéric Junod
4c71ddb3c7
Merge pull request #8451 from fredj/rm_f
...
Remove unimplemented functions
2018-07-27 13:22:35 +02:00
Frederic Junod
b3586bed8d
Remove extra translate function in Geometry, add missing api tag
2018-07-27 13:19:12 +02:00
Frederic Junod
1e332f52d6
Remove unimplemented functions
...
The TypeScript checker complain about it.
It was a workaround for closure-compiler, it's not needed anymore.
2018-07-27 13:10:45 +02:00
Frederic Junod
219629458b
Mark properties of ReadOptions and WriteOptions as optional
2018-07-27 11:25:52 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
40486a0ecc
Avoid shadowing EventTarget
2018-07-26 10:14:58 -06:00
Tim Schaub
2eb07aa081
Use Template<Foo> instead of Template.<Foo>
2018-07-25 18:37:08 -07:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Frederic Junod
d7adf0b4f3
Call setCoordinates on the point instance
2018-07-25 16:10:56 +02:00
Tim Schaub
6f22f1b7ac
Param name on same line as type
2018-07-23 16:28:22 -07:00
Tim Schaub
6cdfbe3116
Merge pull request #8422 from jkoelewijn/improveJsDocForAngularCli
...
Improve JSDoc such that `ng build --prod` with angular/cli 6.0.8 succeeds again
2018-07-23 14:40:50 -07:00
Jaap Koelewijn
704845e37a
Use alternative JSDoc annotation for optional parameter which passes the tests.
2018-07-23 21:29:52 +02:00
Jaap Koelewijn
fd9219f035
Incorporate review comments of ahocevar and tschaub.
2018-07-23 21:12:43 +02:00
Andreas Hocevar
a89ae25134
Merge pull request #8396 from iamplex/fix-createRegularPolygon
...
Fix ol.interaction.Draw~createRegularPolygon
2018-07-23 10:51:32 +02:00
Jaap Koelewijn
2769953204
Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
2018-07-23 01:05:26 +02:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
ahocevar
45cf296ed4
Simplify calculation and add tests
2018-07-21 10:22:42 +02:00
plex
b377bbac59
fix: change the start angle of the regular polygon to match the sketch
2018-07-21 09:44:00 +02:00
Tim Schaub
2a04415264
Remove extra curly in type
2018-07-20 19:57:49 -06:00
Tim Schaub
1ad3e8fe37
Changes for 5.1.1.
2018-07-20 19:33:45 -06:00
Paul Golmann
e3e6a28e18
Add abstract translate to ol/geom/Geometry
2018-07-20 15:40:53 +02:00
Tim Schaub
cf58ee9bf1
Only use getUid from ol/util
2018-07-19 10:19:41 -06:00
Tim Schaub
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
Tim Schaub
e1e34e5636
Replace @see with See.
2018-07-19 08:37:32 -06:00