mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
@@ -20,5 +20,8 @@ namespace BMapTests {
|
||||
map.addOverlay(marker);
|
||||
marker.setAnimation(BMAP_ANIMATION_BOUNCE);
|
||||
}
|
||||
public create_map(map: BMap.Map, city: string) {
|
||||
map.centerAndZoom(city);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -56,6 +56,7 @@ declare namespace BMap {
|
||||
getZoom(): number
|
||||
getPanorama(): Panorama
|
||||
centerAndZoom(center: Point, zoom: number): void
|
||||
centerAndZoom(city: string): void
|
||||
panTo(center: Point, opts?: PanOptions): void
|
||||
panBy(x: number, y: number, opts?: PanOptions): void
|
||||
reset(): void
|
||||
|
||||
Reference in New Issue
Block a user