Commit Graph
35 Commits
Author SHA1 Message Date
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
Arne Schubert d97cb4f781 Solving #21069 in addition 2017-11-02 14:02:54 +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 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
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 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
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