Commit Graph
48 Commits
Author SHA1 Message Date
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Askaholic ddbf07cb69 Fixes #20470 Map.addHandler takes a newable type as second param. (#22577) 2018-01-03 11:47:40 -08:00
Tomasz Janusz fea29359df fix linter errors 2017-12-20 00:22:26 +01:00
Tomasz Janusz 8dffdd92cf Add isFlat method to LineUtil definition 2017-12-20 00:12:52 +01:00
Robert Prib 73d6127f7b Removed intialize from LayerGroup. 2017-11-28 14:18:59 +00:00
Robert Prib 8fbbfdbe46 Updated tslint:disabled with more specific rules and included comment for explanation for need to ignore. 2017-11-28 14:16:46 +00:00
Robert Prib c5855450b3 Removed unnecessary overloads. 2017-11-28 12:58:38 +00:00
Robert Prib 8c5c23df1c * Removed // tslint:disable-next-line for ZoomPanOptions as it is no longer required.
* Removed unneeded comment // @factory L.layerGroup(layers?: Layer[], options?: Object)
2017-11-28 11:32:05 +00:00
Robert Prib b001d41707 Fixed dtslint errors cause by using tslint:disable 2017-11-27 17:05:36 +00:00
Robert Prib 8f7314235d * Added function overrides for constructing LayerGroup to allow options object to be passed through and for layers to be optional.
* Updated MarkerClusterGroupOptions to extend LayerOptions to ensure LayerOptions can be set for Leaflet.MarkerCluster.
2017-11-27 16:35:44 +00:00
Nathan Shively-Sanders f6d9e5e830 Merge branch 'master' into fix-incorrect-tuples 2017-11-09 14:17:17 -08:00
Nathan Shively-Sanders 75f3e71531 leaflet:Cast back to original coords 2017-11-09 14:10:02 -08:00
Nathan Shively-Sanders a364bb7a8c Fix incorrect tuple usage and syntax 2017-11-09 13:55:03 -08:00
Arne Schubert d97cb4f781 Solving #21069 in addition 2017-11-02 14:02:54 +01:00
Arne Schubert 7b76496825 Add missing EOF in new line 2017-11-02 13:35:55 +01:00
Arne Schubert a8df641bc3 Write tests for the generic properties 2017-11-02 13:34:16 +01:00
Arne Schubert b4d0aa4d5f Marker has also a toGeoJSON method and an optional feature property like the circleMarker has 2017-11-02 13:33:51 +01:00
Arne Schubert c0d3c074f0 Adding generic GeoJSON properties to the type-definition of leaflet according to the enhancements in PR #20932 and the discussion in issue #20103. 2017-11-02 12:51:30 +01:00
Arne Schubert 216ea719fa GeoJSON: Enhance with generic properties (#20932)
* Make properties optional generic

* Write tests for generic usage of gGeoJSON feature properties

* Apply layout like recommend in the tslint default rule-set.

* double quotes
* 4 spaces indent (no tabs!)

* Remove jsdoc typings and force typescript version 2.3 for sub type-definitions of geojson

* apply change of andy-ms in PR #20933

* remove empty comments and set typescript version to 2.3 to fix linting errors

* Add myself to the list of authors

* Set TypeScript version to 2.3 for packages depending on geojson
2017-11-01 08:40:26 -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
Arne Schubert 933599cbd6 Add the tooltip anchor to Leaflet's BaseIconOptions interface (#20889)
* Add the tooltipAnchor property to the BaseIconOptions interface

* Add myself as author especially for PR 14299 and for getting an information on further changes

* Typo in github-name

* Remove redundant jsdoc and rewrite to a pretty format
2017-10-23 16:01:32 -07:00
Andy 4a0d3be1c0 leaflet-*: Fix lint (#20841) 2017-10-22 11:27:58 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Alejandro Sánchez b5eaa88e9e Updated leaflet typings to match v1.2.x and to use newer typescript features 2017-08-24 17:18:50 -06:00
Andy 516ed213ca Fix all lint errors (#19253) 2017-08-22 14:27:36 -07:00
Andy 06365b4fd3 leaflet: Fix compile errors (#19079) 2017-08-22 10:56:59 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Markus Chmelar b50f4e4556 Leaflet: Polygon Constructor with Multi-Dimensional Array (#18260) 2017-07-20 15:53:59 -07:00
Alejandro Sánchez 4e3f4267c4 Fixed latLngBounds argument type and added missing variables to DomUtil 2017-07-13 08:12:40 -06:00
Ron Buckton a15d4c9fcf Merge pull request #17706 from Timmmm/patch-2
Fix Leaflet #17685 - LayerGroup constructor
2017-07-06 16:22:32 -07:00
Tim 331480463a Fix Leaflet #17685 - LayerGroup constructor 2017-07-03 15:16:56 +01:00
Tim 07257c41a0 Fix Leaflet bug #17685 2017-07-02 16:09:31 +01:00
Kanchalai Tanglertsampan 1894877f40 Add missing options : http://leafletjs.com/reference-1.0.3.html#layer 2017-06-06 10:27:41 -07:00
Mohamed Hegazy 2266dcb934 Fix lint failures (#16904) 2017-06-01 18:24:48 -07:00
jramsay c824475f70 Merge pull request #16640 from lax20attack/patch-1
Update index.d.ts - Add containerPointToLatLng()
2017-06-01 12:49:20 -07:00
lax20attack 72c44b6d9e Update index.d.ts 2017-05-19 11:32:19 -04:00
Ulrich Fischer 8f143dcd96 Update index.d.ts
Added two missing conversion methods
2017-05-09 10:53:00 +02:00
Andy bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Nathan Shively-Sanders 2c862be7f7 Merge pull request #15463 from webbiesdk/leaflet-extension-methods
Leaflet: Changed the extension methods back to methods.
2017-04-04 10:17:55 -07:00
Erik Krogh Kristensen 30bd01b1ff Leaflet: Marking the extension methods that every class should extend as non-optional. 2017-04-04 11:40:46 +02:00
Andy b6c343f2b3 Apply new lint rules to yet more packages (#15548)
* Apply new lint rules to yet more packages

* Fix leaflet lint
2017-03-31 11:01:26 -07:00
Erik Krogh Kristensen e1cb7511a1 Leaflet: whitespace in extension methods 2017-03-29 09:25:48 +02:00
Erik Krogh Kristensen a3ecd4e75f Leaflet: Changed the extension methods back to methods. 2017-03-28 22:37:22 +02:00
Erik Krogh Kristensen f743678eab Leaflet: Fixed whitespace reported by linter. 2017-03-27 10:02:06 +02:00
Erik Krogh Kristensen 092c14b880 Leaflet: Fixed the test-case for leaflet
(and using the correct MouseEvent in getMousePosition)
2017-03-27 10:02:06 +02:00
Erik Krogh Kristensen d8e322fe00 Leaflet: various fixes.
A lot of or errors related to strict nulls.
Also some arguments that were too general, where the functions don't behave as expected with some of the possible inputs.
And other various errors.
2017-03-27 10:01:22 +02:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00