Fix google.maps definitions

This commit is contained in:
Boris Yankov
2013-08-07 18:44:33 +03:00
parent 258d1d3104
commit ba2c8c2b1e

View File

@@ -210,8 +210,7 @@ declare module google.maps {
getDraggable(): boolean;
getFlat(): boolean;
getIcon(): MarkerImage;
getMap(): Map;
getMap(): StreetViewPanorama;
getMap(): any; // Map or StreetViewPanorama
getPosition(): LatLng;
getShadow(): MarkerImage;
getShape(): MarkerShape;
@@ -297,8 +296,7 @@ declare module google.maps {
export class InfoWindow extends MVCObject {
constructor (opts?: InfoWindowOptions);
close(): void;
getContent(): string;
getContent(): Element;
getContent(): any; // string or Element
getPosition(): LatLng;
getZIndex(): number;
open(map?: Map, anchor?: MVCObject): void;