mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Update google.maps.d.ts
fix indentation update MapOptions interface
This commit is contained in:
5
googlemaps/google.maps.d.ts
vendored
5
googlemaps/google.maps.d.ts
vendored
@@ -30,7 +30,8 @@ THE SOFTWARE.
|
||||
declare namespace google.maps {
|
||||
/***** Map *****/
|
||||
export class Map extends MVCObject {
|
||||
constructor(mapDiv: Element, opts?: MapOptions);fitBounds(bounds: LatLngBounds): void;
|
||||
constructor(mapDiv: Element, opts?: MapOptions);
|
||||
fitBounds(bounds: LatLngBounds): void;
|
||||
getBounds(): LatLngBounds;
|
||||
getCenter(): LatLng;
|
||||
getDiv(): Element;
|
||||
@@ -58,7 +59,7 @@ declare namespace google.maps {
|
||||
|
||||
export interface MapOptions {
|
||||
backgroundColor?: string;
|
||||
center?: LatLng;
|
||||
center?: LatLng|LatLngLiteral;
|
||||
disableDefaultUI?: boolean;
|
||||
disableDoubleClickZoom?: boolean;
|
||||
draggable?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user