Commit Graph

15 Commits

Author SHA1 Message Date
Drew Noakes
5c7636a1f1 Missing semicolons and consistent whitespace 2013-11-28 10:58:50 +00:00
Vladimir Zotov
db1949e95b updated to 0.6.4 2013-11-07 14:55:25 +04:00
bolkhovsky
1ebd49703a Fix Leaflet TileLayer.WMS class definition 2013-10-31 11:46:43 +04:00
Derek Cicerone
b03290184e Fix the typing of L.Icon.Default
This wasn't quite right and the 'develop' branch of the TypeScript compiler no longer accepted the hacky typing.  This should be the correct typing according to information from the TS team here:
https://typescript.codeplex.com/workitem/132
2013-10-13 15:11:26 -04:00
Derek Cicerone
5b00360b17 Fix future bugs in leaflet.d.ts
The 'develop' TypeScript compiler is pickier about generics being fully specified.  In this case, 3 arrays could be more specific about the type of elements.
2013-10-11 20:40:00 -04:00
Diullei Gomes
6b55a91e93 Merge pull request #1058 from flxf/icondefault
Leaflet Icon.Default returns an object that extends from Icon
2013-09-18 06:57:52 -07:00
Felix Fung
ccde41a30a Leaflet Icon.Default returns an object that extends from Icon
From http://leafletjs.com/reference.html#icon

"L.Icon.Default extends L.Icon and is the blue icon Leaflet uses for
markers by default."
2013-09-18 04:28:00 -04:00
Felix Fung
e494b68abf Leaflet FeatureGroup extends LayerGroup
From "http://leafletjs.com/reference.html#featuregroup"
L.FeatureGroup

Extended LayerGroup that also has mouse events (propagated from members
of the group) and a shared bindPopup method. Implements ILayer
interface.
2013-09-17 17:07:25 -04:00
Felix Fung
f983cb1582 Fix leaflet.d.ts, TileLayerOptions.subdomains is flexibly typed
From the comments, subdomains can be a string or an array of strings. We
can't make any strong type inference from the interface.

Quote:
"Subdomains of the tile service. Can be passed in the form of one string (where
each letter is a subdomain name) or an array of strings."
2013-09-08 17:20:54 -04:00
Michael Miller
3ac74fcfda Add icon defaults to leaflet. 2013-08-15 13:11:29 -04:00
jraymakers
ec36e9a0cc Fix leaflet syntax error
This type of problem (modules no longer define types) can now be fixed
with the new 0.9.1 type query syntax (e.g. "typeof <identifier>").
2013-08-07 22:01:45 -07:00
Derek Cicerone
1629acedfa Fix more bool usage picked up by the 0.9.1 beta 2013-07-28 20:40:15 -07:00
Derek Cicerone
f42029618d Replace bool with boolean (for TypeScript 0.9.0+)
Looks like my editor removed trailing whitespace and possibly also normalized some line endings as well.
2013-07-01 18:00:11 -04:00
Eirik Hoem
60e7f4cd61 DivIcon now extends Icon, which makes constructor in Marker happy 2013-06-05 13:16:16 +02:00
Vladimir
2b2c81ce6b Added leaflet.js definition 2013-02-01 17:46:40 +04:00