Commit Graph

10 Commits

Author SHA1 Message Date
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