mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update Microsoft.Maps.d.ts
PolygonOptions: Added missing properties. Made all properties optional. PolylineOptions: Made all properties optional.
This commit is contained in:
Vendored
+11
-11
@@ -390,11 +390,10 @@ declare module Microsoft.Maps {
|
||||
}
|
||||
|
||||
export interface PolylineOptions {
|
||||
|
||||
strokeColor: Color;
|
||||
strokeDashArray: string;
|
||||
strokeThickness: number;
|
||||
visible: boolean;
|
||||
strokeColor?: Color;
|
||||
strokeDashArray?: string;
|
||||
strokeThickness?: number;
|
||||
visible?: boolean;
|
||||
}
|
||||
|
||||
export class Polygon implements Entity {
|
||||
@@ -422,11 +421,12 @@ declare module Microsoft.Maps {
|
||||
}
|
||||
|
||||
export interface PolygonOptions {
|
||||
|
||||
strokeColor: Color;
|
||||
strokeDashArray: string;
|
||||
strokeThickness: number;
|
||||
visible: boolean;
|
||||
fillColor?: Color;
|
||||
infoBox?: Infobox;
|
||||
strokeColor?: Color;
|
||||
strokeDashArray?: string;
|
||||
strokeThickness?: number;
|
||||
visible?: boolean;
|
||||
}
|
||||
|
||||
export class Pushpin implements Entity {
|
||||
@@ -570,4 +570,4 @@ declare module Microsoft.Maps {
|
||||
export function loadModule(moduleKey: string, options: ModuleOptions): void;
|
||||
export function moduleLoaded(moduleKey: string): void;
|
||||
export function registerModule(moduleKey: string, scriptUrl: string, options?: ModuleOptions): void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user