Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-google-maps/api

Package Overview
Dependencies
Maintainers
2
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-google-maps/api - npm Package Compare versions

Comparing version 2.17.0 to 2.17.1

2

CHANGELOG.md
# Changelog
## 2.17.1 OverlayViewF improvements, docs improvemwnts
## 2.17.0 HeatmapLayerF component

@@ -4,0 +6,0 @@

2

dist/components/addons/GoogleMarkerClusterer.stories.d.ts

@@ -6,6 +6,4 @@ /// <reference types="react" />

export declare const Default: ComponentStory<import("react").MemoExoticComponent<({ children, options }: import("./GoogleMarkerClusterer").GoogleMarkerClustererProps) => import("react").ReactElement<any, any> | null>>;
export declare const DBScan: ComponentStory<import("react").MemoExoticComponent<({ children, options }: import("./GoogleMarkerClusterer").GoogleMarkerClustererProps) => import("react").ReactElement<any, any> | null>>;
export declare const Grid: ComponentStory<import("react").MemoExoticComponent<({ children, options }: import("./GoogleMarkerClusterer").GoogleMarkerClustererProps) => import("react").ReactElement<any, any> | null>>;
export declare const Kmeans: ComponentStory<import("react").MemoExoticComponent<({ children, options }: import("./GoogleMarkerClusterer").GoogleMarkerClustererProps) => import("react").ReactElement<any, any> | null>>;
export declare const Noop: ComponentStory<import("react").MemoExoticComponent<({ children, options }: import("./GoogleMarkerClusterer").GoogleMarkerClustererProps) => import("react").ReactElement<any, any> | null>>;
export declare const Render: ComponentStory<import("react").MemoExoticComponent<({ children, options }: import("./GoogleMarkerClusterer").GoogleMarkerClustererProps) => import("react").ReactElement<any, any> | null>>;

@@ -6,6 +6,7 @@ /// <reference types="google.maps" />

};
export declare function createOverlay(container: HTMLElement, pane: keyof google.maps.MapPanes, position: google.maps.LatLng | google.maps.LatLngLiteral, getPixelPositionOffset?: fnPixelPositionOffset): {
export declare function createOverlay(container: HTMLElement, pane: keyof google.maps.MapPanes, position?: google.maps.LatLng | google.maps.LatLngLiteral, bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, getPixelPositionOffset?: fnPixelPositionOffset): {
container: HTMLElement;
pane: keyof google.maps.MapPanes;
position: google.maps.LatLng | google.maps.LatLngLiteral;
position: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined;
onAdd(): void;

@@ -12,0 +13,0 @@ draw(): void;

@@ -11,3 +11,3 @@ /// <reference types="google.maps" />

mapPaneName: PaneNames;
position: google.maps.LatLng | google.maps.LatLngLiteral;
position?: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
getPixelPositionOffset?: ((offsetWidth: number, offsetHeight: number) => {

@@ -27,3 +27,3 @@ x: number;

export declare const OVERLAY_MOUSE_TARGET: PaneNames;
declare function OverlayViewFunctional({ position, mapPaneName, zIndex, onLoad, onUnmount, getPixelPositionOffset, children, }: OverlayViewProps): ReactPortal;
declare function OverlayViewFunctional({ position, bounds, mapPaneName, zIndex, onLoad, onUnmount, getPixelPositionOffset, children, }: OverlayViewProps): ReactPortal;
export declare const OverlayViewF: import("react").MemoExoticComponent<typeof OverlayViewFunctional>;

@@ -30,0 +30,0 @@ export declare class OverlayView extends PureComponent<OverlayViewProps, OverlayViewState> {

/// <reference types="react" />
import { ComponentStory, ComponentMeta } from '@storybook/react';
declare const _default: ComponentMeta<import("react").MemoExoticComponent<({ position, mapPaneName, zIndex, onLoad, onUnmount, getPixelPositionOffset, children, }: import("./OverlayView").OverlayViewProps) => import("react").ReactPortal>>;
declare const _default: ComponentMeta<import("react").MemoExoticComponent<({ position, bounds, mapPaneName, zIndex, onLoad, onUnmount, getPixelPositionOffset, children, }: import("./OverlayView").OverlayViewProps) => import("react").ReactPortal>>;
export default _default;
export declare const Default: ComponentStory<import("react").MemoExoticComponent<({ position, mapPaneName, zIndex, onLoad, onUnmount, getPixelPositionOffset, children, }: import("./OverlayView").OverlayViewProps) => import("react").ReactPortal>>;
export declare const Default: ComponentStory<import("react").MemoExoticComponent<({ position, bounds, mapPaneName, zIndex, onLoad, onUnmount, getPixelPositionOffset, children, }: import("./OverlayView").OverlayViewProps) => import("react").ReactPortal>>;
{
"name": "@react-google-maps/api",
"sideEffects": false,
"version": "2.17.0",
"version": "2.17.1",
"description": "React.js Google Maps API integration",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -52,9 +52,20 @@ # MarkerClusterer example

<ScriptLoaded>
<GoogleMap id='marker-example' mapContainerStyle={mapContainerStyle} zoom={3} center={center}>
<GoogleMap
id='marker-example'
mapContainerStyle={mapContainerStyle}
zoom={3}
center={center}
>
<MarkerClusterer options={options}>
{(clusterer) =>
locations.map((location) => (
<MarkerF key={createKey(location)} position={location} clusterer={clusterer} />
))
}
{(clusterer) => (
<>
{locations.map((location) => (
<MarkerF
key={createKey(location)}
position={location}
clusterer={clusterer}
/>
))}
</>
)}
</MarkerClusterer>

@@ -61,0 +72,0 @@ </GoogleMap>

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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