@vis.gl/react-google-maps
Advanced tools
Comparing version
@@ -9,29 +9,35 @@ import type { PropsWithChildren } from 'react'; | ||
*/ | ||
export declare enum ControlPosition { | ||
BLOCK_END_INLINE_CENTER = 0, | ||
BLOCK_END_INLINE_END = 1, | ||
BLOCK_END_INLINE_START = 2, | ||
BLOCK_START_INLINE_CENTER = 3, | ||
BLOCK_START_INLINE_END = 4, | ||
BLOCK_START_INLINE_START = 5, | ||
BOTTOM_CENTER = 6, | ||
BOTTOM_LEFT = 7, | ||
BOTTOM_RIGHT = 8, | ||
INLINE_END_BLOCK_CENTER = 9, | ||
INLINE_END_BLOCK_END = 10, | ||
INLINE_END_BLOCK_START = 11, | ||
INLINE_START_BLOCK_CENTER = 12, | ||
INLINE_START_BLOCK_END = 13, | ||
INLINE_START_BLOCK_START = 14, | ||
LEFT_BOTTOM = 15, | ||
LEFT_CENTER = 16, | ||
LEFT_TOP = 17, | ||
RIGHT_BOTTOM = 18, | ||
RIGHT_CENTER = 19, | ||
RIGHT_TOP = 20, | ||
TOP_CENTER = 21, | ||
TOP_LEFT = 22, | ||
TOP_RIGHT = 23 | ||
} | ||
export declare const ControlPosition: { | ||
readonly TOP_LEFT: 1; | ||
readonly TOP_CENTER: 2; | ||
readonly TOP: 2; | ||
readonly TOP_RIGHT: 3; | ||
readonly LEFT_CENTER: 4; | ||
readonly LEFT_TOP: 5; | ||
readonly LEFT: 5; | ||
readonly LEFT_BOTTOM: 6; | ||
readonly RIGHT_TOP: 7; | ||
readonly RIGHT: 7; | ||
readonly RIGHT_CENTER: 8; | ||
readonly RIGHT_BOTTOM: 9; | ||
readonly BOTTOM_LEFT: 10; | ||
readonly BOTTOM_CENTER: 11; | ||
readonly BOTTOM: 11; | ||
readonly BOTTOM_RIGHT: 12; | ||
readonly CENTER: 13; | ||
readonly BLOCK_START_INLINE_START: 14; | ||
readonly BLOCK_START_INLINE_CENTER: 15; | ||
readonly BLOCK_START_INLINE_END: 16; | ||
readonly INLINE_START_BLOCK_CENTER: 17; | ||
readonly INLINE_START_BLOCK_START: 18; | ||
readonly INLINE_START_BLOCK_END: 19; | ||
readonly INLINE_END_BLOCK_START: 20; | ||
readonly INLINE_END_BLOCK_CENTER: 21; | ||
readonly INLINE_END_BLOCK_END: 22; | ||
readonly BLOCK_END_INLINE_START: 23; | ||
readonly BLOCK_END_INLINE_CENTER: 24; | ||
readonly BLOCK_END_INLINE_END: 25; | ||
}; | ||
export type ControlPosition = (typeof ControlPosition)[keyof typeof ControlPosition]; | ||
export declare const MapControl: ({ children, position }: MapControlProps) => import("react").ReactPortal; | ||
export {}; |
@@ -1155,29 +1155,33 @@ (function (global, factory) { | ||
*/ | ||
exports.ControlPosition = void 0; | ||
(function (ControlPosition) { | ||
ControlPosition[ControlPosition["BLOCK_END_INLINE_CENTER"] = 0] = "BLOCK_END_INLINE_CENTER"; | ||
ControlPosition[ControlPosition["BLOCK_END_INLINE_END"] = 1] = "BLOCK_END_INLINE_END"; | ||
ControlPosition[ControlPosition["BLOCK_END_INLINE_START"] = 2] = "BLOCK_END_INLINE_START"; | ||
ControlPosition[ControlPosition["BLOCK_START_INLINE_CENTER"] = 3] = "BLOCK_START_INLINE_CENTER"; | ||
ControlPosition[ControlPosition["BLOCK_START_INLINE_END"] = 4] = "BLOCK_START_INLINE_END"; | ||
ControlPosition[ControlPosition["BLOCK_START_INLINE_START"] = 5] = "BLOCK_START_INLINE_START"; | ||
ControlPosition[ControlPosition["BOTTOM_CENTER"] = 6] = "BOTTOM_CENTER"; | ||
ControlPosition[ControlPosition["BOTTOM_LEFT"] = 7] = "BOTTOM_LEFT"; | ||
ControlPosition[ControlPosition["BOTTOM_RIGHT"] = 8] = "BOTTOM_RIGHT"; | ||
ControlPosition[ControlPosition["INLINE_END_BLOCK_CENTER"] = 9] = "INLINE_END_BLOCK_CENTER"; | ||
ControlPosition[ControlPosition["INLINE_END_BLOCK_END"] = 10] = "INLINE_END_BLOCK_END"; | ||
ControlPosition[ControlPosition["INLINE_END_BLOCK_START"] = 11] = "INLINE_END_BLOCK_START"; | ||
ControlPosition[ControlPosition["INLINE_START_BLOCK_CENTER"] = 12] = "INLINE_START_BLOCK_CENTER"; | ||
ControlPosition[ControlPosition["INLINE_START_BLOCK_END"] = 13] = "INLINE_START_BLOCK_END"; | ||
ControlPosition[ControlPosition["INLINE_START_BLOCK_START"] = 14] = "INLINE_START_BLOCK_START"; | ||
ControlPosition[ControlPosition["LEFT_BOTTOM"] = 15] = "LEFT_BOTTOM"; | ||
ControlPosition[ControlPosition["LEFT_CENTER"] = 16] = "LEFT_CENTER"; | ||
ControlPosition[ControlPosition["LEFT_TOP"] = 17] = "LEFT_TOP"; | ||
ControlPosition[ControlPosition["RIGHT_BOTTOM"] = 18] = "RIGHT_BOTTOM"; | ||
ControlPosition[ControlPosition["RIGHT_CENTER"] = 19] = "RIGHT_CENTER"; | ||
ControlPosition[ControlPosition["RIGHT_TOP"] = 20] = "RIGHT_TOP"; | ||
ControlPosition[ControlPosition["TOP_CENTER"] = 21] = "TOP_CENTER"; | ||
ControlPosition[ControlPosition["TOP_LEFT"] = 22] = "TOP_LEFT"; | ||
ControlPosition[ControlPosition["TOP_RIGHT"] = 23] = "TOP_RIGHT"; | ||
})(exports.ControlPosition || (exports.ControlPosition = {})); | ||
var ControlPosition = { | ||
TOP_LEFT: 1, | ||
TOP_CENTER: 2, | ||
TOP: 2, | ||
TOP_RIGHT: 3, | ||
LEFT_CENTER: 4, | ||
LEFT_TOP: 5, | ||
LEFT: 5, | ||
LEFT_BOTTOM: 6, | ||
RIGHT_TOP: 7, | ||
RIGHT: 7, | ||
RIGHT_CENTER: 8, | ||
RIGHT_BOTTOM: 9, | ||
BOTTOM_LEFT: 10, | ||
BOTTOM_CENTER: 11, | ||
BOTTOM: 11, | ||
BOTTOM_RIGHT: 12, | ||
CENTER: 13, | ||
BLOCK_START_INLINE_START: 14, | ||
BLOCK_START_INLINE_CENTER: 15, | ||
BLOCK_START_INLINE_END: 16, | ||
INLINE_START_BLOCK_CENTER: 17, | ||
INLINE_START_BLOCK_START: 18, | ||
INLINE_START_BLOCK_END: 19, | ||
INLINE_END_BLOCK_START: 20, | ||
INLINE_END_BLOCK_CENTER: 21, | ||
INLINE_END_BLOCK_END: 22, | ||
BLOCK_END_INLINE_START: 23, | ||
BLOCK_END_INLINE_CENTER: 24, | ||
BLOCK_END_INLINE_END: 25 | ||
}; | ||
var MapControl = function MapControl(_ref) { | ||
@@ -1513,2 +1517,3 @@ var children = _ref.children, | ||
exports.AdvancedMarkerContext = AdvancedMarkerContext; | ||
exports.ControlPosition = ControlPosition; | ||
exports.GoogleMapsContext = GoogleMapsContext; | ||
@@ -1515,0 +1520,0 @@ exports.InfoWindow = InfoWindow; |
{ | ||
"name": "@vis.gl/react-google-maps", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "React components and hooks for Google Maps.", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
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
5471
0.4%383962
-0.73%