Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@canmou/react-tmap-map

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canmou/react-tmap-map - npm Package Compare versions

Comparing version
1.0.26
to
1.0.27
+2
-0
cjs/index.d.ts

@@ -19,2 +19,4 @@ /// <reference types="@canmou/react-tmap-types" />

map?: TMap.Map | undefined;
} & {
TMap: typeof TMap;
}>>;

@@ -9,2 +9,3 @@ /// <reference types="@canmou/react-tmap-types" />

map?: TMap.Map;
visualizationHeat?: TMap.visualization.Heat;
}

@@ -11,0 +12,0 @@ export interface UseMap extends MapProps, MapChildProps {

+1
-1

@@ -42,3 +42,3 @@ /// <reference types="@canmou/react-tmap-types" />

'Draggable',
'Scrollwheel',
'Scrollable',
'MaxZoom',

@@ -45,0 +45,0 @@ 'MinZoom',

{
"name": "@canmou/react-tmap-map",
"version": "1.0.26",
"version": "1.0.27",
"description": "用于加载腾讯地图SDK依赖,加载完成,全局将会有**`window.TMap`**对象。",

@@ -24,6 +24,6 @@ "main": "cjs/index.js",

"dependencies": {
"@canmou/react-tmap-types": "^1.0.26",
"@canmou/react-tmap-utils": "^1.0.26"
"@canmou/react-tmap-types": "^1.0.27",
"@canmou/react-tmap-utils": "^1.0.27"
},
"gitHead": "ac62c5504ad0ff9b2428a573056e37284c88f8f3"
"gitHead": "1cd2032ff9663a999eeec33c6319e428e5ab0327"
}

@@ -15,3 +15,3 @@ /// <reference types="@canmou/react-tmap-types" />

export const Map = forwardRef<MapProps & { map?: TMap.Map }, MapProps & RenderProps>(({ className, style, children, ...props }, ref) => {
export const Map = forwardRef<MapProps & { map?: TMap.Map } & { TMap: typeof TMap }, MapProps & RenderProps>(({ className, style, children, ...props }, ref) => {
const elmRef = useRef<HTMLDivElement>(null);

@@ -18,0 +18,0 @@ const { setContainer, container, map } = useMap({ container: elmRef.current, ...props });

@@ -12,2 +12,4 @@ /// <reference types="@canmou/react-tmap-types" />

map?: TMap.Map;
visualizationHeat?: TMap.visualization.Heat;
}

@@ -14,0 +16,0 @@