Socket
Socket
Sign inDemoInstall

@types/googlemaps

Package Overview
Dependencies
0
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.40.5 to 3.43.0

2

googlemaps/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Google Maps JavaScript API 3.40
// Type definitions for Google Maps JavaScript API 3.43
// Project: https://developers.google.com/maps/

@@ -3,0 +3,0 @@ // Definitions by: Chris Wrench <https://github.com/cgwrench>,

{
"name": "@types/googlemaps",
"version": "3.40.5",
"version": "3.43.0",
"description": "TypeScript definitions for Google Maps JavaScript API",

@@ -102,4 +102,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "c0c4ff045410e08dfb7e4cbdb72796b1186391b3651d1f968bff4df503f0f347",
"typesPublisherContentHash": "a1416d9acb23ed394a87baaa72cb319b9098d07f284e2450558a2ada4f3e36e3",
"typeScriptVersion": "3.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 11 Dec 2020 11:10:16 GMT
* Last updated: Tue, 22 Dec 2020 13:17:39 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `google`

@@ -140,3 +140,3 @@ declare namespace google.maps {

// tslint:disable-next-line:no-unnecessary-qualifier
interface MouseEvent extends google.maps.MouseEvent {
interface MouseEvent extends google.maps.MapMouseEvent {
feature: Feature;

@@ -143,0 +143,0 @@ }

@@ -29,3 +29,3 @@ declare namespace google.maps {

*/
click: (this: T, event: MouseEvent | IconMouseEvent) => void;
click: (this: T, event: MapMouseEvent | IconMouseEvent) => void;

@@ -36,3 +36,3 @@ /**

*/
dblclick: (this: T, event: MouseEvent) => void;
dblclick: (this: T, event: MapMouseEvent) => void;

@@ -85,3 +85,3 @@ /**

*/
mousemove: (this: T, event: MouseEvent) => void;
mousemove: (this: T, event: MapMouseEvent) => void;

@@ -92,3 +92,3 @@ /**

*/
mouseout: (this: T, event: MouseEvent) => void;
mouseout: (this: T, event: MapMouseEvent) => void;

@@ -99,3 +99,3 @@ /**

*/
mouseover: (this: T, event: MouseEvent) => void;
mouseover: (this: T, event: MapMouseEvent) => void;

@@ -113,3 +113,3 @@ /**

*/
rightclick: (this: T, event: MouseEvent) => void;
rightclick: (this: T, event: MapMouseEvent) => void;

@@ -612,4 +612,5 @@ /**

* and contains all the fields shown below.
* @see {@link https://developers.google.com/maps/documentation/javascript/reference/map#MapMouseEvent Maps JavaScript API}
*/
interface MouseEvent {
interface MapMouseEvent {
/** Prevents this event from propagating further. */

@@ -622,2 +623,10 @@ stop(): void;

latLng: LatLng;
/**
* The corresponding native DOM event. Developers should not rely on `target`,
* `currentTarget`, `relatedTarget` and `path` properties being defined and consistent.
* Developers should not also rely on the DOM structure of the internal
* implementation of the Maps API.
* @see {@link https://developers.google.com/maps/documentation/javascript/reference/map#MapMouseEvent.domEvent Maps JavaScript API}
*/
domEvent: MouseEvent | TouchEvent | PointerEvent | Event;
}

@@ -632,3 +641,3 @@

*/
interface IconMouseEvent extends MouseEvent {
interface IconMouseEvent extends MapMouseEvent {
/**

@@ -635,0 +644,0 @@ * The place ID of the place that was clicked.

@@ -172,5 +172,21 @@ declare namespace google.maps {

interface PolyMouseEvent extends MouseEvent {
/**
* @see {@link https://developers.google.com/maps/documentation/javascript/reference/polygon#PolyMouseEvent Maps JavaScript API}
*/
interface PolyMouseEvent extends MapMouseEvent {
/**
* The index of the edge within the path beneath the cursor when the event occurred, if the
* event occurred on a mid-point on an editable polygon.
*/
edge?: number;
/**
* The index of the path beneath the cursor when the event occurred, if the event occurred on
* a vertex and the polygon is editable. Otherwise undefined.
*/
path?: number;
/**
* The index of the vertex beneath the cursor when the event occurred, if the event occurred on
* a vertex and the polyline or polygon is editable. If the event does not occur on a vertex,
* the value is undefined.
*/
vertex?: number;

@@ -177,0 +193,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc