Socket
Socket
Sign inDemoInstall

@react-google-maps/api

Package Overview
Dependencies
14
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.16.1 to 2.17.0

34

CHANGELOG.md
# Changelog
## 2.17.0 HeatmapLayerF component
- TrafficLayerF
- BicyclingLayerF
- TransitLayerF
- DrawingManagerF
- MarkerF
- InfoBoxF
- InfoWindowF
- PolylineF
- PolygonF
- RectangleF
- CircleF
- OverlayViewF
- MarkerClustererF
- HeatmapLayerF
This components currently for tests only - I've planned to replace PureComponent class based components in 3.0.0 version.
please test in your applications each F component.
TODO:
- LoadScriptF
- GoogleMapF
- DirectionsRendererF
- DirectionsServiceF
- DistanceMatrixServiceF
- KmlLayerF
- AutocompleteF
- StandaloneSearchBoxF
- StreetViewPanoramaF
- StreetViewServiceF
## 2.16.1 fix marker-clusterer markers stack css

@@ -4,0 +38,0 @@

4

dist/components/heatmap/HeatmapLayer.d.ts
/// <reference types="google.maps" />
import { type ContextType, PureComponent } from 'react';
import { ContextType, PureComponent } from 'react';
import MapContext from '../../map-context';

@@ -16,2 +16,4 @@ interface HeatmapLayerState {

}
declare function HeatmapLayerFunctional({ data, onLoad, onUnmount, options, }: HeatmapLayerProps): null;
export declare const HeatmapLayerF: import("react").MemoExoticComponent<typeof HeatmapLayerFunctional>;
export declare class HeatmapLayer extends PureComponent<HeatmapLayerProps, HeatmapLayerState> {

@@ -18,0 +20,0 @@ static contextType: import("react").Context<google.maps.Map | null>;

{
"name": "@react-google-maps/api",
"sideEffects": false,
"version": "2.16.1",
"version": "2.17.0",
"description": "React.js Google Maps API integration",

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

@@ -5,3 +5,6 @@ export { default as GoogleMap, type GoogleMapProps } from './GoogleMap'

export { default as LoadScriptNext, type LoadScriptNextProps } from './LoadScriptNext'
export {
default as LoadScriptNext,
type LoadScriptNextProps,
} from './LoadScriptNext'

@@ -12,11 +15,31 @@ export { useLoadScript } from './useLoadScript'

export { default as TrafficLayer, TrafficLayerF, type TrafficLayerProps } from './components/maps/TrafficLayer'
export {
default as TrafficLayer,
TrafficLayerF,
type TrafficLayerProps,
} from './components/maps/TrafficLayer'
export { default as BicyclingLayer, BicyclingLayerF, type BicyclingLayerProps } from './components/maps/BicyclingLayer'
export {
default as BicyclingLayer,
BicyclingLayerF,
type BicyclingLayerProps,
} from './components/maps/BicyclingLayer'
export { default as TransitLayer, TransitLayerF, type TransitLayerProps } from './components/maps/TransitLayer'
export {
default as TransitLayer,
TransitLayerF,
type TransitLayerProps,
} from './components/maps/TransitLayer'
export { default as DrawingManager, DrawingManagerF, type DrawingManagerProps } from './components/drawing/DrawingManager'
export {
default as DrawingManager,
DrawingManagerF,
type DrawingManagerProps,
} from './components/drawing/DrawingManager'
export { default as Marker, MarkerF, type MarkerProps } from './components/drawing/Marker'
export {
default as Marker,
MarkerF,
type MarkerProps,
} from './components/drawing/Marker'

@@ -29,25 +52,75 @@ export {

export { default as InfoBox, InfoBoxF, type InfoBoxProps } from './components/addons/InfoBox'
export {
default as InfoBox,
InfoBoxF,
type InfoBoxProps,
} from './components/addons/InfoBox'
export { default as GoogleMarkerClusterer, type GoogleMarkerClustererProps } from './components/addons/GoogleMarkerClusterer'
export {
default as GoogleMarkerClusterer,
type GoogleMarkerClustererProps,
} from './components/addons/GoogleMarkerClusterer'
export { default as InfoWindow, InfoWindowF, type InfoWindowProps } from './components/drawing/InfoWindow'
export {
default as InfoWindow,
InfoWindowF,
type InfoWindowProps,
} from './components/drawing/InfoWindow'
export { default as Polyline, PolylineF, type PolylineProps } from './components/drawing/Polyline'
export {
default as Polyline,
PolylineF,
type PolylineProps,
} from './components/drawing/Polyline'
export { default as Polygon, PolygonF, type PolygonProps } from './components/drawing/Polygon'
export {
default as Polygon,
PolygonF,
type PolygonProps,
} from './components/drawing/Polygon'
export { default as Rectangle, RectangleF, type RectangleProps } from './components/drawing/Rectangle'
export {
default as Rectangle,
RectangleF,
type RectangleProps,
} from './components/drawing/Rectangle'
export { default as Circle, CircleF, type CircleProps } from './components/drawing/Circle'
export {
default as Circle,
CircleF,
type CircleProps,
} from './components/drawing/Circle'
export { default as Data, DataF, type DataProps } from './components/drawing/Data'
export {
default as Data,
DataF,
type DataProps,
} from './components/drawing/Data'
export { default as KmlLayer, type KmlLayerProps } from './components/kml/KmlLayer'
export {
default as KmlLayer,
type KmlLayerProps,
} from './components/kml/KmlLayer'
export { default as OverlayView, OverlayViewF, type OverlayViewProps, FLOAT_PANE, MAP_PANE, MARKER_LAYER, OVERLAY_LAYER, OVERLAY_MOUSE_TARGET } from './components/dom/OverlayView'
export {
default as OverlayView,
OverlayViewF,
type OverlayViewProps,
FLOAT_PANE,
MAP_PANE,
MARKER_LAYER,
OVERLAY_LAYER,
OVERLAY_MOUSE_TARGET,
} from './components/dom/OverlayView'
export { default as GroundOverlay, type GroundOverlayProps } from './components/overlays/GroundOverlay'
export {
default as GroundOverlay,
type GroundOverlayProps,
} from './components/overlays/GroundOverlay'
export { default as HeatmapLayer, type HeatmapLayerProps } from './components/heatmap/HeatmapLayer'
export {
default as HeatmapLayer,
HeatmapLayerF,
type HeatmapLayerProps,
} from './components/heatmap/HeatmapLayer'

@@ -84,3 +157,6 @@ export {

export { default as Autocomplete, type AutocompleteProps } from './components/places/Autocomplete'
export {
default as Autocomplete,
type AutocompleteProps,
} from './components/places/Autocomplete'

@@ -87,0 +163,0 @@ export { default as MapContext, useGoogleMap } from './map-context'

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc