地图API类参考

更新时间:2023-06-23 07:49:08 阅读: 评论:0

API
API
a)Map
API
Map(container:String|HTMLElem
ent[,opts:MapOptions])
忙里偷闲英文
enableDragging()
disableDragging(
)
enableScrollWhee
lZoom()
End
disableKeyboard( )
enableInertialDr agging()
disableInertialD ragging()
enableContinuous none
(自1.1
(自1.1 none
none
none
disableScrollWhe elZoom()
enableDoubleClic kZoom()
disableDoubleCli ckZoom()none none none none none none
enableKeyboard()none
PgUp、PgDn、Home
API Zoom()
disableContinuou sZoom()
enablePinchToZoo m()
disablePinchToZo om()none
(自1.1
(自1.1
(自1.1
(自1.1 none
none
getBounds()Bou nds
Poi nt
Num ber
Map
getMapType()Typ
es
getSize()Siz e
getCenter()
getDistance(start:Point,
end:Point)(自1.1
(自1.1
getViewport(view:Array<Point>[, viewportOptions: ViewportOptions])Vie
wpodi palomo
rt
center zoom
(自1.1
getZoom()Num ber
Str ing
toString()
centerAndZoom(center:Point, zoom:Number)no
ne
x
y
BMAP_PERSPECTIVE_MAP centerAndZoom
no
ne
no
ne
zoomIn()var map=new BMap.Map(“container”, {mapType:BMAP_PERSPECTIVE_MAP});
map.tCurrentCity(“北京市”);
图书馆英语
BMAP_NORMAL_MAP,则在调tMapType
(自1.1
panTo(center:Point)no ne
panBy(x:Number,y:Number)no ne
no ne
no ne
ret()
tCenter(center:Point)
tCurrentCity(city:String)no ne
men in black
tMapType(mapType:MapTypes) tViewport(view:Array<Point>|View
port[, ViewportOptions])viewportOptions:
no
ne
no
ne
(自1.1
(自1.1
zoomTo(zoom:Number)
zoomOut()
no ne
addControl(control :Control)
removeControl(cont rol:Control)
none
Control.initialize()方法,并将控件的容器元素添加到
none
getContainer()
HTMLEl ement
addContextMenu(menu:ContextMenu)removeContextMenu(menu:ContextMenu)
none none
addOverlay(overlay:Overl ay)
removeOverlay(overlay:Ov erlay)九年级英语unit9
clearOverlays()
openInfoWindow(infoWnd:I nfoWindow,point:Point)
bloom是什么意思
cloInfoWindow()none
Pixel
(自1.1
Point
InfoWin dow|Nul
(自1.1
null 。none
nonepolyester是什么意思
none
none
pointToOverlayPixel(poin t:Point)
overlayPixelToPoint(pixe l:Pixel)
getInfoWindow()
l
getOverlays()Array<O
verlay>
(自1.1
(自1.1
HTML
{
floatPane,
markerMouTarget,
floatShadow,
labelPane,
markerPane,
mapPane
百度英文词典
}
(自1.1
getPanes()Object
addTileLayer(tileLayer:TileLayer)
removeTileLayer(tilelayer:TileLay er)
getTileLayer(mapType:String)none none TileLayer
pixelToPoint(pixel:Pixel) pointToPixel(point:Point)Point Pixel
click event{type,target,
click click dblclick
(自1.1
browrdblclic k
bogourightcl ick event{type,
pixel,point}
event{type,target,
target, point,pixel,overlay} point,pixel,overlay}

本文发布于:2023-06-23 07:49:08,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/154620.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:进行   控件   词典
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图