@types/leaflet.gridlayer.googlemutant
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -12,3 +12,23 @@ // Type definitions for leaflet.gridlayer.googlemutant 0.4 | ||
interface GoogleMutant extends GridLayer { | ||
setElementSize(e: HTMLElement, size: Point): void ; | ||
setElementSize(e: HTMLElement, size: Point): void; | ||
/** | ||
* Add additional Google Maps layer. | ||
* | ||
* https://developers.google.com/maps/documentation/javascript/trafficlayer | ||
* | ||
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer. | ||
* @param options? constructor arguments to pass through to the google layer. | ||
* @returns Promise for the native Google Maps Layer instance. | ||
*/ | ||
addGoogleLayer(googleLayerName: string, options?: object): Promise<object>; | ||
/** | ||
* Removes Google Maps layer. | ||
* | ||
* https://developers.google.com/maps/documentation/javascript/trafficlayer | ||
* | ||
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer. | ||
*/ | ||
removeGoogleLayer(googleLayerName: string): void; | ||
} | ||
@@ -15,0 +35,0 @@ |
{ | ||
"name": "@types/leaflet.gridlayer.googlemutant", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "TypeScript definitions for leaflet.gridlayer.googlemutant", | ||
@@ -14,5 +14,7 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/leaflet.gridlayer.googlemutant" | ||
}, | ||
@@ -23,4 +25,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "1806d03f6cc457cf4bada13dc3f4d62c2eb00d503c11b5129021c695f647df97", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "8ecb8ae5987af46a5914bd87a4f4b43f7263627d09097c06f20f92615bb9d360", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.gridlayer.googlemutant | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.gridlayer.googlemutant. | ||
Additional Details | ||
* Last updated: Thu, 09 Nov 2017 09:38:00 GMT | ||
* Dependencies: leaflet | ||
### Additional Details | ||
* Last updated: Fri, 21 Feb 2020 20:06:20 GMT | ||
* Dependencies: [@types/leaflet](https://npmjs.com/package/@types/leaflet) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Ernest Rhinozeros <https://github.com/ernest-rhinozeros>. | ||
These definitions were written by [Ernest Rhinozeros](https://github.com/ernest-rhinozeros). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6042
85