Socket
Socket
Sign inDemoInstall

@types/leaflet.gridlayer.googlemutant

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet.gridlayer.googlemutant - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

116

leaflet.gridlayer.googlemutant/index.d.ts

@@ -6,73 +6,75 @@ // Type definitions for leaflet.gridlayer.googlemutant 0.4

/// <reference types="leaflet" />
import * as L from 'leaflet';
declare namespace L.gridLayer {
interface GoogleMutant extends GridLayer {
setElementSize(e: HTMLElement, size: Point): void ;
}
declare module 'leaflet' {
namespace gridLayer {
interface GoogleMutant extends GridLayer {
setElementSize(e: HTMLElement, size: Point): void ;
}
type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
interface GoogleMutantStyler {
hue?: string;
lightness?: number;
saturation?: number;
gamma?: number;
invert_lightness?: boolean;
visibility?: string;
color?: string;
weight?: number;
}
interface GoogleMutantStyler {
hue?: string;
lightness?: number;
saturation?: number;
gamma?: number;
invert_lightness?: boolean;
visibility?: string;
color?: string;
weight?: number;
}
/**
* Google's map style.
*
* https://developers.google.com/maps/documentation/javascript/style-reference
*/
interface GoogleMutantStyle {
/**
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
* Google's map style.
*
* https://developers.google.com/maps/documentation/javascript/style-reference
*/
featureType?: string;
interface GoogleMutantStyle {
/**
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
*/
featureType?: string;
/**
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
*/
elementType?: string;
/**
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
*/
elementType?: string;
/**
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
*/
stylers?: GoogleMutantStyler[];
}
/**
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
*/
stylers?: GoogleMutantStyler[];
}
interface GoogleMutantOptions extends TileLayerOptions {
minZoom?: number;
maxZoom?: number;
maxNativeZoom?: number;
tileSize?: number | Point;
subdomains?: string | string[];
errorTileUrl?: string;
interface GoogleMutantOptions extends TileLayerOptions {
minZoom?: number;
maxZoom?: number;
maxNativeZoom?: number;
tileSize?: number | Point;
subdomains?: string | string[];
errorTileUrl?: string;
/**
* The mutant container will add its own attribution anyways.
*/
attribution?: string;
/**
* The mutant container will add its own attribution anyways.
*/
attribution?: string;
opacity?: number;
continuousWorld?: boolean;
noWrap?: boolean;
opacity?: number;
continuousWorld?: boolean;
noWrap?: boolean;
/**
* Google's map type. 'hybrid' is not really supported.
*/
type?: GoogleMutantType;
/**
* Google's map type. 'hybrid' is not really supported.
*/
type?: GoogleMutantType;
/**
* Google's map styles.
*/
styles?: GoogleMutantStyle[];
/**
* Google's map styles.
*/
styles?: GoogleMutantStyle[];
}
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
}
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
}
{
"name": "@types/leaflet.gridlayer.googlemutant",
"version": "0.4.2",
"version": "0.4.3",
"description": "TypeScript definitions for leaflet.gridlayer.googlemutant",

@@ -9,3 +9,4 @@ "license": "MIT",

"name": "Ernest Rhinozeros",
"url": "https://github.com/ernest-rhinozeros"
"url": "https://github.com/ernest-rhinozeros",
"githubUsername": "ernest-rhinozeros"
}

@@ -22,4 +23,4 @@ ],

},
"typesPublisherContentHash": "7a715430871578fdeace3fd245e76670dc490780916083273fce8c390316c642",
"typesPublisherContentHash": "ecb80117ba87fd2ef2c4421d5b1d4a37f2b9ac75f39780a9dac9a3074a8fe32d",
"typeScriptVersion": "2.0"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Mon, 21 Aug 2017 21:55:03 GMT
* Last updated: Tue, 29 Aug 2017 21:31:37 GMT
* Dependencies: leaflet
* Global values: L
* Global values: none
# Credits
These definitions were written by Ernest Rhinozeros <https://github.com/ernest-rhinozeros>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc