Commit Graph

176 Commits

Author SHA1 Message Date
Mine Starks
dc81dd25e0 Merge pull request #14750 from ccurrens/leafletjs-marker-icon-types
leaflet: Update marker classes to accept both Icon and DivIcon
2017-03-07 15:54:19 -08:00
Andy
555ea54770 Lint test files too (#14791) 2017-02-23 07:15:16 -08:00
Christopher Currens
700984dae3 Merge branch 'master' into leafletjs-marker-icon-types 2017-02-22 12:19:39 -08:00
Christopher Currens
46ceddceff leaflet: Update marker classes to accept both Icon and DivIcon 2017-02-20 18:06:27 -08:00
Denis
a2e9ccdb41 Leaflet Util syntax fixes
CC: @alejo90
2017-02-20 14:02:41 -05:00
Denis
5e69790581 Leaflet Util - Fix forbidden for non-simple types 2017-02-19 14:49:31 -05:00
Denis
7fd1de4401 Fix Leaflet Util syntax 2017-02-19 14:40:50 -05:00
Denis
32fad50ac4 Extent Leaflet Util - added tests 2017-02-19 14:04:51 -05:00
Denis
14c2b56aad Extend Leaflet Util 2017-02-19 14:03:32 -05:00
Alejandro Sánchez
9b14df292e Fixed Icon type hierarchy 2017-02-17 08:24:43 -06:00
Arthur Ozga
ea49b04c4f Merge pull request #14525 from itroncloudservices/master
Fix leaflet to compile with latest TypeScript v2.1.6.
2017-02-10 13:44:23 -08:00
anwalkers
220b2c7ade Fix leaflet to compile with latest TypeScript v2.1.6. 2017-02-08 18:31:05 -08:00
Jeff Barnes
a72092a024 Fix leaflet marker options and bindPopup arguments. 2017-02-08 10:20:49 -09:00
Arne Schubert
a2bc79cdf4 Remove extra blanks 2017-01-30 22:24:19 +01:00
Arne Schubert
725847349d The Path interface has to have the getElement method 2017-01-30 22:23:03 +01:00
Arne Schubert
1eed6a5580 Set last missing content type 2017-01-30 21:49:35 +01:00
Arne Schubert
52c346b4a2 GeoJSON has to extend FeatureGroup 2017-01-30 21:45:46 +01:00
Arne Schubert
0fe579c085 Add minNativeZoom from v1.0.2, add missing getElelemt methods 2017-01-30 21:45:21 +01:00
Arne Schubert
1dcc3a708c Remove unneccesary line 2017-01-30 21:20:31 +01:00
Arne Schubert
f0e7d94f82 Remove unused interface IconDefault 2017-01-30 21:18:53 +01:00
Arne Schubert
580dd62cca Suppress lints by comment 2017-01-30 21:16:57 +01:00
Arne Schubert
1986077754 Make typings for literals as array of two tuples 2017-01-30 21:04:00 +01:00
Arne Schubert
8fda71eada set no-single-declare-module to false in tslint.json 2017-01-28 11:09:19 +01:00
Arne Schubert
42361f5fa8 Re-add namespace and module declaration, because other modules have dependence on that 2017-01-27 17:55:47 +01:00
Arne Schubert
16e5b26b3d Refactor td for leaflet and geojson 2017-01-27 17:22:50 +01:00
James Milner
1221959579 Adds clickable to marker options
Adds clickable to marker options; this is currently omitted for one reason or another
2017-01-25 11:32:22 +00:00
Andy
ffd36a5342 Leaflet: Remove 'package.json' (#14089) 2017-01-18 10:05:22 -08:00
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Jeff Barnes
6d76b4c74c Add constructor to Leaflet.Control. (#14003)
Add an optional extended description…
2017-01-13 12:21:10 -08:00
Ryan Blace
20235151e8 [Leaflet] Making an L.Control class that extends L.Class so you can extend Control (#13954)
* Need to make static Class functions available on Control so you can extend Control class

* The latest leaflet 0.7.x added the PositionString type to the L namespace

* Specifying Control to only be a class that extends Class

* Synching back the mapzen changes
2017-01-13 09:29:53 -08:00
Dave Leaver
0c0a06e1c2 Add react-leaflet (#13922)
* Add react-leaflet, required some additional leaflet work

* 4 spaces

* Fix tests, typescript 2.1

* Fix tslint fails. Have disabled no-empty-interface as things get ugly when trying to be clean for it.

* Fix leaflet-geocoder-mapzen

* Remove a lot of extra unnecessary interface definitions and be mostly no-empty-interface safe. There are a few small ones I have retained.

* Use type instead of another interface
2017-01-13 07:24:24 -08:00
Sheetal Nandi
65358999d7 Merge pull request #13838 from RafaelSalguero/patch-1
x y properties on Point
2017-01-10 16:14:39 -08:00
Markus Chmelar
ffabe14406 Add closeOnClick to PopupOptions 2017-01-10 17:51:31 +01:00
Rafael Salguero Iturrios
e446c18131 Missing zoom parameter on CRS.pointToLatLng method (#13847)
http://leafletjs.com/reference.html#icrs-pointtolatlng
2017-01-08 17:21:35 -08:00
Rafael Salguero Iturrios
83d9597309 x y properties on Point 2017-01-07 18:58:36 -07:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
reblace
7b6d9b0158 Making the latLngToCoords property more restrictive. A three tuple is assinable to a one, two, or three tuple. 2017-01-03 12:46:13 -05:00
reblace
e7b6ff74ce Making the GeoJSON methods accessible as static methods 2017-01-02 13:05:33 -05:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Mohsen Azimi
f130d3d79a
Add test 2016-12-18 11:20:31 -08:00
Mohsen Azimi
9619d80e2e
Address issues raised in PR review 2016-12-18 11:17:29 -08:00
Mohsen Azimi
a935c52ba6 Make Marker and Icon extendable classes and options optional 2016-12-16 10:16:51 -08:00
Alejandro Sánchez
e21973de05 Fixed Point::distance return type and added missing utils 2016-12-13 17:25:57 -06:00
Andy
ec7def120d Merge pull request #13050 from danzel/leaflet
Leaflet - Add missing L.ImageOverlay methods and missing L.Draggable class
2016-12-13 15:20:58 -08:00
Andy
c968762595 Merge 'master' to 'types-2.0' one last time (#13277)
* Added missing nconf.required(keys) and Provider.required(keys) methods.

* update to 4.7.0, add querycursor.map() and schema.loadClass()

* add error callback for schema.post()

* Added playsInline property as introduced in React 15.3.2

* Add definitions for redux-localstorage and main enhancers (#12580)

* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer

* csurf.d.ts relying on CookieOptions from express

It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.

* Added height property to IDialogOptions

* versionKey type

* kendo-ui: mark toString() params as optional (#13164)

These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString

* Ensure that zoneAbbr and zoneName are expected type (string).

* Update moment-timezone.d.ts

* Fix syntax error in interact.d.ts

A parameter name was missing making TypeScript compiler fail.

* adding type for move to fs-extra

* fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy

* increasing version number

* returning back the version number to the origin number

* reversing changes in fs-extra

* Request that PRs have meaningful titles

* Improvement to existing nouislider type definition. (#12033)

* updated nouislider version and added a lot of tests out of the documentation

* corrected intentation

* corrected untyped variables, issue raised by Travis

* incorporated feedback on pull request

* #13037 (#13039)

* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>

* Missing cc in sendgrid packate (#13063)

The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below.

* Fixes #12414 (#13076)

* Fixes #12414

* Make applicationServerKey optional

* added ariaLabelledBy and ariaDescribedBy to IModalSettings (#13004)

* Ceymard leaflet (#13007)

* replaced all overrides of LatLng by a single use of LatLngExpression when appropriate

* Changed Point, PointTuple overrides to use PointExpression instead

* Changet use of LatLngBounds and Bounds in general to use the Expression variant instead of having several overrides

* add ElasticSeach 5.x API function for deleteByQuery (#13014)

* add ElasticSeach 5.x API function for deleteByQuery

* use searchParams for deleteByQuery, as theses resemble the documentation.

* add DeleteByQueryParams parameter type.

* add deleteByQuery to tests.

* Make `less` render options optional (#13078)

* Added semver

* Updated gravity definition. (#13088)

* Full Redis client options (#13108)

* Added missing return type to on() methods. (#13082)

* Update react-native.0.29.d.ts (#13118)

drawerPosition is of type `number`
Android DrawerConsts.DrawerPosition.Left is equivalent to DrawerLayoutAndroid.positions.Left
Android DrawerConsts.DrawerPosition.Right is equivalent to DrawerLayoutAndroid.positions.Right

* Upgrade to match braintree-web 3.6.1 (#13098)

* Update to match braintree-web version 3.3.0

* Upgrade to match Braintree-web v3.5.0

* upgrade to match braintree-web 3.6.1

add US bank class

* Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional

* Correct missing ‘auto’ option of GridList’s cellHeight (#13094)

* Add new Angular 1.5.9 methods to $compileProvider  (#13096)

* Add new Angular 1.5.9 methods to $compileProvider

Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()

* Add JSDoc to Angular 1.59 new methods of $compileProvider

JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.

* Expand $compileProvider JSDoc

Urls added to JSDoc of Angular 1.5.9 new methods .

* Changed type of injectedScript property to string (#13120)

The injectedScript property should take string value with script code, not the bool flag as in current version

* Use unions for openlayers string enums (#13134)

* Update google.maps.MapPane interface (#13122)

* Removing myself (AlStar01) as definition author from angular-material.d.ts (#13125)

* Clarify that notNeededPackages.json is just for packages formerly on DefinitelyTyped (#13156)

* Update Parsimmon typings (#13146)

* Update AmCharts.d.ts (#13170)

* knex: add MySqlConnectionConfig, tests (#13161)

* knex: add MySqlConnectionConfig, tests

* knex: add types for MySqlConnectionConfig queryFormat params

* Add note in readme about tsjs-lib-generator (#13210)

* Remove redux-localstorage packages; added by #13115 instead
2016-12-12 11:00:28 -08:00
danzel
9de51dd216 Fix based on feedback 2016-12-04 17:10:15 +13:00
danzel
39db0554e6 Add missing L.ImageOverlay methods and missing L.Draggable class 2016-12-02 09:24:36 +13:00
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
Nathan Shively-Sanders
ff34b04b04 Fix hapi, i18next and leaflet merges 2016-11-21 10:59:47 -08:00
Mine Yalcinalp Starks
253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00