# Interface: IPointQueryFeatures
点查询实体参数
# Hierarchy
-
↳ IPointQueryFeatures
# Table of contents
# Properties
- condition
- fields
- geom
- layer
- limit
- mapid
- maxGeomBytesSize
- pixelToGeoLength
- pixelsize
- simplifyTolerance
- toMapCoordinate
- useCache
- version
- x
- y
- zoom
# Properties
# condition
• Optional
condition: string
条件.
# fields
• Optional
fields: string
是返回的字段列表,多个之是用逗号,分开,如. "name,objectid"
Inherited from: IQueryBaseFeatures.fields
# geom
• Optional
geom: boolean
是否为几何图形查询.
Inherited from: IQueryBaseFeatures.geom
# layer
• Optional
layer: string
图层名称(为空时采用当前打开的地图图层名称).
Inherited from: IQueryBaseFeatures.layer
# limit
• Optional
limit: number
返回最多的记录条数.
Inherited from: IQueryBaseFeatures.limit
# mapid
• Optional
mapid: string
地图ID(为空时采用当前打开的mapid).
Inherited from: IQueryBaseFeatures.mapid
# maxGeomBytesSize
• Optional
maxGeomBytesSize: number
返回最大的几何字节数.
# pixelToGeoLength
• Optional
pixelToGeoLength: number
当前一个像素表示多少几何长度,如果输入了此值,则为此值为主,否则,根据输入的zoom值后台自动计算.
# pixelsize
• Optional
pixelsize: number
像素大小.
# simplifyTolerance
• Optional
simplifyTolerance: boolean
GeoJSON几何数据简化墨托卡距离,默认为零,不简化。例如允许10级别以上一个像素级别的误差,可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()
Inherited from: IQueryBaseFeatures.simplifyTolerance
# toMapCoordinate
• Optional
toMapCoordinate: boolean
查询返回的坐标默认为墨卡托坐标,返回会程序会自动转化为cad坐标,如果要直接返回cad地图坐标,需要把toMapCoordinate设置为true.
Inherited from: IQueryBaseFeatures.toMapCoordinate
# useCache
• Optional
useCache: boolean
启动cache(内存打开的图形有效).
Inherited from: IQueryBaseFeatures.useCache
# version
• Optional
version: string
地图版本(为空时采用当前打开的地图版本).
Inherited from: IQueryBaseFeatures.version
# x
• x: number
查询的坐标X.
# y
• y: number
查询的坐标Y.
# zoom
• Optional
zoom: number
当前级别.
Inherited from: IQueryBaseFeatures.zoom