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

@uiw/react-amap-types

Package Overview
Dependencies
Maintainers
2
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-amap-types - npm Package Compare versions

Comparing version
7.1.6
to
7.1.7
+1
-1
package.json
{
"name": "@uiw/react-amap-types",
"version": "7.1.6",
"version": "7.1.7",
"description": "基于 React 封装的高德地图组件。AMap Component Based On React.",

@@ -5,0 +5,0 @@ "funding": "https://jaywcjlove.github.io/#/sponsor",

@@ -100,4 +100,2 @@ /// <reference path="./base.d.ts" />

info: string
status: string
count: string
geocode: {

@@ -127,36 +125,22 @@ formatted_address: string

info: string
infocode: string
status: string
regeocode: {
formatted_address: string
formattedAddress: string
addressComponent: {
city: any[]
province: string
adcode: string
building: string
buildingType: string
businessAreas: Array<BusinessArea>
city: string
citycode: string
district: string
towncode: string
streetNumber: {
number: string
location: string
direction: string
distance: string
street: string
}
country: string
neighborhood: string
neighborhoodType: string
province: string
street: string
streetNumber: string
township: string
businessAreas: {
location: string
name: string
id: string
}[]
building: {
name: any[]
type: any[]
}
neighborhood: {
name: any[]
type: any[]
}
citycode: string
}
crosses: Array<any>
pois: Array<any>
roads: Array<any>
}

@@ -163,0 +147,0 @@ }

@@ -338,7 +338,7 @@ /// <reference path="./base.d.ts" />

/** 根据输入关键字提示匹配信息,支持中文、拼音 */
search(keyword: string, callback: (state: string, result: PlaceSearchResult) => void): void;
search(keyword: string, callback: (status: string, result: PlaceSearchResult) => void): void;
/** 根据范围和关键词进行范围查询 */
searchInBounds(keyword: string, bounds: AMap.Bounds, callback: (state: string, result: PlaceSearchResult) => void): void;
searchInBounds(keyword: string, bounds: AMap.Bounds, callback: (status: string, result: PlaceSearchResult) => void): void;
/** 根据中心点经纬度、半径以及关键字进行周边查询 radius取值范围:0-50000 */
searchNearBy(keyword: string, center: AMap.LngLat, radius: number): void
searchNearBy(keyword: string, center: AMap.LngLat, radius: number, callback: (status: string, result: PlaceSearchResult) => void): void
/** 根据PGUID 查询POI 详细信息 */

@@ -403,3 +403,5 @@ getDetails(PGUID: string): POI;

city?: string;
/** 数据类别 */
/** 是否强制限制在设置的城市内搜索 */
citylimit?: boolean;
/** 数据类别, 多个类别用「 | 」分割 */
type?: string;

@@ -410,4 +412,24 @@ /** 每页结果数,默认10 */

pageIndex?: number;
/**
* 是否按照层级展示子POI数据
*
* children = 1,展示子节点POI数据
*
* children = 0,不展示子节点数据
*/
children?: number
/** 返回信息详略,默认为base(基本信息) */
extensions?: string;
/** 设置检索语言类型,默认中文 'zh_cn' */
lang?: string;
/** 显示结果的地图容器 */
map?: Map;
/** 结果列表的HTML容器id或容器元素 */
panel?: string | HTMLElement;
/** 是否在地图上显示周边搜索的圆或者范围搜索的多边形 */
showCover?: boolean;
/** 绘制的UI风格 */
renderStyle?: "newpc" | "default";
/** 是否自动调整地图视野使绘制的 Marker点都处于视口的可见范围 */
autoFitView?: boolean;
}

@@ -418,15 +440,2 @@ /** PlaceSearch 搜索结果回调 */

info: string;
/** 发生事件且查无此关键字时,返回建议关键字列表,可根据建议关键字查询 */
keywordList: Array<keyword> ;
/** 发生事件且查无此关键字且 city 为“全国”时,返回城市建议列表,该列表中每个城市包含一个或多个相关Poi点信息 */
cityList: Array<{
/** 建议城市名称 */
name: string;
/** 城市编码 */
citycode: string;
/** 行政区编码 */
adcode: string;
/** 该城市的建议结果数目 */
count: string;
}> ;
/** 发生事件时返回兴趣点列表 */

@@ -444,2 +453,2 @@ poiList: {

}
}
}