Commit Graph

44 Commits

Author SHA1 Message Date
Daniel Rosenwasser
67c476c3de
Merge pull request #23575 from atelier-cartographique/master
openlayers - added renderMode to layer.VectorOptions
2018-02-18 22:24:19 -08:00
Pierre Marchand
82b376579b fixed version format 2018-02-17 11:39:07 +01:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Pierre Marchand
47aea3938e updated to v4.6.0
Updated according to what could be found in changelogs from 4.4.0 to 4.6.0
2018-02-14 16:02:23 +01:00
Pierre Marchand
22a5e13ab2 updated version to 4.6.0 2018-02-13 08:17:20 +01:00
Pierre Marchand
96f06c794b openlayers - added renderMode to layer.VectorOptions
https://openlayers.org/en/latest/apidoc/ol.layer.Vector.html
2018-02-12 16:09:52 +01:00
Ron Buckton
7e0a4b74d7
Merge pull request #23379 from matthiasdailey-ccri/ol-view
ol.View
2018-02-08 20:13:09 -08:00
Matthias Dailey
20a8429ad3 Add tests and fix a few definitions. 2018-02-06 12:44:59 -05:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Matthias Dailey
d8682442db Comment block update. 2018-02-02 17:25:17 -05:00
Matthias Dailey
b522881da4 Update typings for ol.View. Sort methods by their source-defined order.
Before, the order did not match either the source or the alphabetical docs.

Add methods:
getAnimating
getInteracting
cancelAnimations
getMaxZoom
getMinZoom
getResolutionForExtent
getZoomForResolution
getResolutionForZoom
2018-02-02 17:18:02 -05:00
Matthias Dailey
45457bbbc9 Add callback to olx.view.FitOptions. (#23199)
* Add `callback` to `olx.view.FitOptions`. See http://openlayers.org/en/latest/apidoc//ol.View.html#fit

* Use existing AnimateCallback type
2018-01-25 13:42:33 -08:00
YairTawil
27a4ffdc6f types/openlayers - updates for olx.interaction.SelectOptions and ol.View (#23123)
* Initialize ol type

* Type definitions

* import openlayers

* Update tsconfig.json

* Update index.d.ts

* fix(): no-declare-current-package

* lint(): new line at end of files

* fix(test, lint)

* fix(tsconfig): format tsconfig.json

* fix(types/ol): add import 'ol' from 'openalyers'

* types/openlayers add hitTolerance to SelectOptions

* update 'Definitions by'
2018-01-23 10:10:26 -08:00
Mine Starks
bc26af4fc8
Merge pull request #21034 from danmana/openlayers
openlayers: make TileWMS projection optional
2017-12-14 09:15:12 -08:00
Gasperi
bb221faa3a Add showLabels to GraticuleOptions interface 2017-10-30 10:54:49 +01:00
Dan Manastireanu
b34551eb07 Merge branch 'master' into openlayers 2017-10-26 18:08:39 +03:00
Dan.Manastireanu
4aac17bae3 openlayers: make TileWMS projection optional. Closes #20994 2017-10-26 18:04:42 +03:00
Chad Johnston
27c3a21ec4 Add all remaining ol.format.filter types (#21014) 2017-10-25 12:16:17 -07:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Junyoung Clare Jang
dd92ec5ddd Fix ModifyOption features as optional (#20737) 2017-10-23 15:00:02 -07:00
Junyoung Clare Jang
ba5c25b8c7 Fix ModifyOptions (#20698) 2017-10-19 08:42:41 -07:00
alexandre melard
0aac141a9e openlayers: update missing definitions from 4.3.0 to 4.3.4 (#20228) 2017-10-09 14:35:33 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Guilhem Brouat
e1ad95baa4 Removing myself from authors (#19971)
* [openlayers] Added missing functions and configuration property added by openlayers 4.1.0

* Added tests

* Removed myself from authors
2017-09-25 12:12:35 -07:00
Ailrun
a70840e717 Update openlayers layer options 2017-09-22 03:04:57 -04:00
Matthias Kretschmar
fa5cd19657 added minArea to test 2017-09-18 09:39:52 +02:00
Matthias Kretschmar
609f1756c7 Added minArea to DragBoxOptions (https://openlayers.org/en/latest/apidoc/ol.interaction.DragBox.html) 2017-09-18 08:29:58 +02:00
Arthur Ozga
8c5a398ee0 Merge pull request #19690 from jhwegener/master
[openlayers] Adding missing Type ol.StyleFunction to ol.Feature.setStyle
2017-09-14 13:02:48 -07:00
Bin Wang
5538cba820 Add undefined type to ol.Overlay.setPosition
According to the [document of ol.Overlay.setPosition](http://openlayers.org/en/latest/apidoc/ol.Overlay.html#setPosition), set it to undefined makes the popup disappear. However, in the current definition, it doesn't allow to be set to undefined.
2017-09-14 15:30:15 +08:00
Jan-Henning Wegener
8523cad29f fix test
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/19688
[openlayers] Adding missing Type ol.StyleFunction to ol.Feature.setStyle #19688
2017-09-12 10:35:25 +02:00
Jan-Henning Wegener
c505e41eb4 Add missing Type "ol.StyleFunction" to ol.Feature.setStlye.
Add also missing ReturnType "ol.StyleFunction" to ol.Feature.getStlye.

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/19688
[openlayers] Adding missing Type ol.StyleFunction to ol.Feature.setStyle #19688
2017-09-12 10:18:01 +02:00
Brian Schantz
9742fb7f59 openlayers: Adding missing options on olx.interaction.PinchZoomOptions and olx.interaction.MouseWheelZoomOptions 2017-09-03 11:32:09 -07:00
stonio
1556a470f0 Update version of Typescript definition 2017-08-28 20:30:16 +02:00
stonio
f42342f002 Add definition for method getFeaturesAtPixel 2017-08-28 18:31:39 +02:00
Sören Nils Kuklau
caf9d3ce04 [openlayers] fix declaration for forEachSegment (#18816)
The declaration appears to be wrong (though I'm fairly new to TypeScript). For instance, the example at https://openlayers.org/en/latest/examples/line-arrows.html won't work like that.
2017-08-14 11:43:39 -07:00
bladegun
6cb257c248 Fixed some errors in parameter declaration. 2017-07-13 14:04:40 +08:00
Swiod
ec4f2fa498 Missing function ol.style.Style#clone 2017-07-11 10:10:57 +02:00
Swiod
674775afd6 IconOptions.src is optional 2017-07-10 10:28:14 +02:00
Krzysztof Rzymkowski
4bb4158c7f [openlayers] DrawGeometryFunctionType: second argument is optional (#16678) 2017-06-02 07:30:21 -07:00
Matthias Dailey
7a49d23bc5 Add openlayers version 3.x (3.20) (#15923) 2017-05-01 15:53:28 -07:00
Guilhem Brouat
767259eaa9 [openlayers] Added missing functions and configuration property added… (#16167)
* [openlayers] Added missing functions and configuration property added by openlayers 4.1.0

* Added tests
2017-04-28 10:41:13 -07:00
Gaspar Zaragoza
238ce6d05d Add missing typing (#16085)
freehand option was missing from DrawOptions.
Source: https://openlayers.org/en/latest/apidoc/ol.interaction.Draw.html
2017-04-26 11:12:18 -07:00
Krzysztof Rzymkowski
0baf4fe3f1 [openlayers] ol.interaction.Draw.createBox() (#16130) 2017-04-26 10:04:54 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00