@mj-studio/react-native-naver-map
Version:
Naver Map Component for React Native
33 lines (32 loc) • 984 B
JavaScript
;
import React from 'react';
import { convertJsImagePropToNativeProp } from "../internal/Util.js";
import { Const } from "../internal/util/Const.js";
import { default as NativeNaverMapGround } from '../spec/RNCNaverMapGroundNativeComponent';
import { jsx as _jsx } from "react/jsx-runtime";
export const NaverMapGroundOverlay = ({
zIndex = 0,
globalZIndex = Const.NULL_NUMBER,
isHidden = false,
minZoom = Const.MIN_ZOOM,
maxZoom = Const.MAX_ZOOM,
isMinZoomInclusive = true,
isMaxZoomInclusive = true,
image,
region,
onTap
}) => {
return /*#__PURE__*/_jsx(NativeNaverMapGround, {
zIndexValue: zIndex,
globalZIndexValue: globalZIndex,
isHidden: isHidden,
minZoom: minZoom,
maxZoom: maxZoom,
isMinZoomInclusive: isMinZoomInclusive,
isMaxZoomInclusive: isMaxZoomInclusive,
region: region,
image: convertJsImagePropToNativeProp(image),
onTapOverlay: onTap
});
};
//# sourceMappingURL=NaverMapGroundOverlay.js.map