Update Microsoft.Maps.d.ts

PolygonOptions: Added missing properties.  Made all properties optional.
PolylineOptions: Made all properties optional.
This commit is contained in:
bmiller1
2015-02-20 19:37:23 -06:00
parent e93130560d
commit 36631587af
+11 -11
View File
@@ -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;
}
}