杜仲泡酒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
wpo
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
tMapType(mapType:MapTypes) tViewport(view:Array<Point>|View
port[, ViewportOptions])viewportOptions:
no
i5和i7的区别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)
clearOverlays()
openInfoWindow(infoWnd:I nfoWindow,point:Point)
cloInfoWindow()none
Pixel
(自1.1
Point
InfoWin dow|Nul
(自1.1
null 。none
none
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
dblclic k
rightcl ick event{type,
pixel,point}
event{type,target,
target, point,pixel,overlay} point,pixel,overlay}