* 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 initial definition of DomEvent for leaflet 1.0
* fix wrong type definition
* complete type definition of L.DomEvent
* remove unclear definition
* adjust definition according to the leaflet API doc
* Rename leaflet.d.ts to leaflet-0.7.d.ts
* Defined several important interfaces and the skeleton of some others
* Started adding tests
* Added more interfaces, factory methods and tests
* Implemented other interfaces and nested namespaces
* Added more types
subdomains: String or String[].
Description: Can be passed in the form of one string (where each letter is a subdomain name) or an array of strings.
Documentation: http://leafletjs.com/reference.html
Updated DivIconOptions to reflect documentation (http://leafletjs.com/reference.html#divicon).
Two changes:
- "All Leaflet methods and options that accept Point objects also accept them in a simple Array form (unless noted otherwise)"
- DivIconOptions accepts an optional popupAnchor property.
* add some definitions I'm using from leaflet 1.0.0
* revert private members
* add more paramters of ZoomPanOptions
Add PositionString as type for leaflet position
According to https://github.com/Microsoft/TypeScript/issues/3755, properties not previously defined in a type will now be marked as errors during compilation in TypeScript 1.6 and later.
Since a TileLayerOptions object is dynamically evaluated for custom properties that might be used in a provided tile URL template, the TypeScript change breaks this functionality.
The proposed change adds a string indexer (one of the suggested changes in the link above), which fixes the issue.
All Leaflet methods and options that accept Point objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:
http://leafletjs.com/reference.html#point