mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added optional properties navigationControl, navigationControlOptions to MapOptions.
Exported new interface NavigationControlOptions and enum NavigationControlStyle.
This commit is contained in:
Vendored
+14
@@ -91,6 +91,8 @@ declare module google.maps {
|
||||
mapMaker?: bool;
|
||||
mapTypeControl?: bool;
|
||||
mapTypeControlOptions?: MapTypeControlOptions;
|
||||
navigationControl?: bool;
|
||||
navigationControlOptions?: NavigationControlOptions;
|
||||
mapTypeId?: MapTypeId;
|
||||
maxZoom?: number;
|
||||
minZoom?: number;
|
||||
@@ -184,6 +186,18 @@ declare module google.maps {
|
||||
TOP_RIGHT
|
||||
}
|
||||
|
||||
export interface NavigationControlOptions {
|
||||
position?: ControlPosition;
|
||||
style?: NavigationControlStyle;
|
||||
}
|
||||
|
||||
export enum NavigationControlStyle {
|
||||
DEFAULT,
|
||||
SMALL,
|
||||
ANDROID,
|
||||
ZOOM_PAN
|
||||
}
|
||||
|
||||
/***** Overlays *****/
|
||||
export class Marker extends MVCObject {
|
||||
static MAX_ZINDEX: number;
|
||||
|
||||
Reference in New Issue
Block a user