From 92356221c80151eb6ff87aacf1f8999f782448a1 Mon Sep 17 00:00:00 2001 From: springbov Date: Thu, 31 Mar 2016 11:32:49 -0600 Subject: [PATCH] Added missing typedefs to bingmaps --- bingmaps/Microsoft.Maps.d.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/bingmaps/Microsoft.Maps.d.ts b/bingmaps/Microsoft.Maps.d.ts index 48edfcc2c4..c558c7a64b 100644 --- a/bingmaps/Microsoft.Maps.d.ts +++ b/bingmaps/Microsoft.Maps.d.ts @@ -505,10 +505,21 @@ declare namespace Microsoft.Maps { export interface PositionOptionsErrorCallbackResult { internalError: PositionError; errorCode:number; -} + } + + export interface PositionOptionsSuccessCallbackResult { + center: Location; + position: Position; + } + export interface PositionOptions { enableHighAccuracy?: boolean; - errorCallback?:(result:PositionOptionsErrorCallbackResult)=>void; + errorCallback?: (result: PositionOptionsErrorCallbackResult) => void; + showAccuracyCircle?: boolean; + timeout?: number; + updateMapView?: boolean; + maximumAge?: number; + successCallback?: (result: PositionOptionsSuccessCallbackResult) => void; } export interface PositionCircleOptions {