Commit Graph

64 Commits

Author SHA1 Message Date
rgvassar
4f1cd4f385 openlayers - Updated many of the interactions according to documentation. (#10946)
* Updated many of the interactions according to documentation.

* Spelling error fixed. Function definition too specific. Added documentation.

* Added SelectEvent.

* Fixed incorrect return type on dragBox.getGeometry
2016-09-09 22:53:44 +09:00
sv1809
10490dcdb5 Ol overview map (#11081)
* Add ol.control.OverviewMap methods

* Fix typo
2016-09-09 22:53:22 +09:00
rvassar
7a87e24773 Updated version number. 2016-09-07 09:32:09 -07:00
rvassar
9115d2e5bc Merge remote-tracking branch 'upstream/master' into ol3-OSM
# Conflicts:
#	openlayers/openlayers.d.ts
2016-09-07 09:02:09 -07:00
rvassar
e11ba9884d Added a constructor and options interface for the Rotate class. 2016-09-06 15:12:01 -07:00
rvassar
ff773ccff8 Added a constructor and interface for the OSM class. 2016-09-06 15:08:52 -07:00
Chris Rowe
2f8791fc63 openlayers: add return type to Control.setTarget 2016-08-31 10:47:10 +01:00
Chris Rowe
221f10c7f7 openlayers: ScaleLine and Control type definitions 2016-08-31 10:42:40 +01:00
Chris Rowe
a8352c713f Adding correct function definition for DrawGeometryFunctionType so that it takes an array of Coordinates 2016-08-30 16:15:37 +01:00
Chris Rowe
fdbda06ff0 openlayers: Added Cluster constructor options, Layer.setZIndex function and Source constructor 2016-08-30 14:39:25 +01:00
Nathan Shively-Sanders
8c5254eb70 Merge pull request #10335 from osechet/master
Add the options argument to openlayers custom control
2016-08-09 13:58:41 -07:00
osechet
056aa8301c Add the options argument to openlayers custom control 2016-07-28 12:18:45 +02:00
EvgeneOskin
e5604f86ee Fix class hierarchy of OpenLayers events. 2016-07-27 16:18:26 +06:00
osechet
d726a1348e Add the options argument to openlayers custom control (#10099)
* Add arguments to ol.control.Control's constructor

* Define the olx.control.ControlOptions interface
2016-07-19 17:03:27 -07:00
Matthias
ba5f8c1b2f Add OpenLayers v3.14.2 (#10119)
* Created openlayers v.3.14.2 definitions file by cloning v3.6.0

* fix shadowed references to global types

* Added ol.events.Event, ol.events.EventTarget and ol.events.ListenerFunctionType

* filled in ol.proj.Projection

* completed ol.Observable. Corrected variable names. Added inheritance from ol.events.EventTarget and updated dispatchEvent() to include a possible boolean operator, as per EventTargets impl of dispatchEvent

* Filled in ol.interaction.DrawEvent. Added ol.interaction.DrawEventType.

* Filled in ol.interaction.Interaction, and added olx.interaction.InteractionOptions.

* Filled in ol.interaction.DrawOptions

* Corrected ol.DrawGeometryFunctionType

* Filled in ol.source.Vector

* Updated ol.source.Source . Removed refresh() since it's not in the docs or the code file.

* Typo

* Added to ol.geom.Polygon

* Fix ol.Map beforeRender()

* Added PointerOptions, MapBrowserPointerEvent, ModifyEventType, ModifyEvent, pointer && pointer.PointerEvent .

* Added to ol.geom.Circle .
Added ol.events.Key, though I don't know what it is.

* Fixed CollectionEvent

* Fix jsdoc problems

* DragBoxOptions, InteractionOptions

* update VectorOptions

* Update VectorOptions

* Other things

* Lint

* Fix duplicates and syntax errors from test.

* Filled in ol.interaction. Lint

* Added tests file and updated it.
Fixed some more definitions. Observable extends. and others
2016-07-19 16:22:58 -07:00
cw882
1eba400870 Update openlayers.d.ts
Formatting change
2016-06-28 11:37:25 +01:00
cw882
4c1e6bfd16 Update openlayers.d.ts
Added StaticImageOptions and ZoomToExtentOptions. Updated the classes to require the option types.
2016-06-28 11:31:13 +01:00
Johannes Drönner
9000bf59d4 change "extends Object" to "extends ol.Object" and "{}" to "any". 2016-06-22 10:57:35 +02:00
Johannes Drönner
7678ef7519 replace ol.Object with {} 2016-06-21 14:35:54 +02:00
Johannes Drönner
22bcfb974e fix tests 2016-06-21 14:17:30 +02:00
Johannes Drönner
8c08b0f46f openlayers: add source inheritance 2016-06-21 14:12:51 +02:00
Johannes Drönner
d679811f3b openlayers: Add tests for ol.source.TileWMS + Add functions and tests for ol.source.Source 2016-06-21 12:16:34 +02:00
Johannes Drönner
a0c1bd29ed openlayers: Add missing functions for ol.source.TileWMS 2016-06-21 11:47:10 +02:00
Johannes Drönner
984f83346a openlayers: Add filter function for layers in SelectOptions 2016-06-21 11:23:20 +02:00
Christian Beilschmidt
cf059e978e add setExtent to ol.proj.Projection and make transform ol.geom.Point accept ol.proj.Projection (#9076)
* make transform `ol.geom.Point` accept `ol.proj.Projection`

* transform is described here: http://openlayers.org/en/v3.0.0/apidoc/ol.geom.Point.html#transform
** "Can be a string identifier or a ol.proj.Projection object."

* add `setExtent` to ol.proj.Projection

* setExtent is described here: http://openlayers.org/en/v3.0.0/apidoc/ol.proj.Projection.html#setExtent
** "Type `ol.Extent`"
2016-05-06 17:34:08 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Christian Beilschmidt
9efdd51da4 Added method getExtent to ol.proj.Projection 2016-03-10 17:08:59 +01:00
rgvassar
18df7ff3a9 Fixed incorrect documentation. 2016-03-02 09:08:46 -08:00
rgvassar
0a312175b4 OpenLayers - Added source.Vector.getFeaturesAtCoordinate method. 2016-02-29 11:35:45 -08:00
RussellV
61050b2c6b Added some missing methods, properties, and interfaces. Corrected some incorrect methods. Fixed some formatting.
Filled in the WKT class a bit.
Replaced the fitExtent and fitGeometry methods with the fit method per documentation.
Made the options for the ol.source.Vector contructor optional.
2016-02-22 12:09:12 -08:00
Anton Danilkin
113eec5add Renamed openlayers-2.10.0d.ts to openlayers-2.10.0.d.ts 2016-02-21 13:39:06 +03:00
aba
dff6dc8250 Fixing the test :
* There is a new required parameter in OpenLayers.
* Explicitly set the type of void functions !

I also add some tests.
2016-02-05 19:47:36 +01:00
aba
de36bab90b I made some changes according to the version 3.12.1.
I add some methods that I currently use. Of course it miss a lot of work to be exaustive but I will continue to work on it during the next monthes.
2016-01-11 08:07:53 +01:00
Artem Kozlov
e142871cb2 openlayers. Add named external module.
Enables usage of the module in imports.
2015-10-23 23:40:34 +02:00
mathieudugal
5bca47d46a Fix errors 2015-09-15 17:21:24 -04:00
mathieudugal
dacf9af776 Test the ol.geom module
Tests related to the typing definitions of the ol.geom module
2015-09-15 17:14:45 -04:00
mathieudugal
1129c4a2c4 Add types descriptions for module ol.geom 2015-09-14 19:03:13 -04:00
vvakame
a1b4a9fd8e fix openlayers/openlayers.d.ts 2015-09-08 22:35:38 +09:00
matjos
133698acc7 Replaced any with correct methods 2015-09-02 23:10:18 +02:00
matjos
c1592cc0ad Removed unnecesery any definitions. 2015-09-02 22:07:57 +02:00
matjos
9f0231e58e added tests to openlayers input 2015-09-02 21:05:30 +02:00
matjos
f7728601ef Merged master 2015-09-02 19:59:14 +02:00
Artem Kozlov
c0fe9460e7 Update ol.source.Vector. Add more ol.style defs. 2015-08-31 10:28:26 +02:00
matjos
9390bb6fe4 Added TileWMS, Projection and refactored 2015-08-28 16:18:15 +02:00
matjos
cf72a199fb Added ImageWMS constructor options. 2015-08-28 11:36:44 +02:00
woutergd
458192ea3d Fixed some unknown typedefinitions, added loadingstrategy and featureloader 2015-07-05 17:02:08 +02:00
woutergd
2ade046e71 Implemented ol.easing, ol.format.geojson, ol.geometry.Geometry, ol.coordinate and ol.extent 2015-07-05 16:26:26 +02:00
woutergd
bbbcd4f69a And updating the definition file itself can also be useful when making modifications to it to pass the tests... 2015-06-28 12:40:05 +02:00