Skip to content

Commit

Permalink
update type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
r0b0t3d authored and mfazekas committed Apr 7, 2020
1 parent e443e71 commit 69503c1
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,23 +413,6 @@ export interface CameraProps extends CameraSettings, ViewProps {
) => void;
}

export interface CameraStopSettings {
centerCoordinate?: GeoJSON.Position;
heading?: number;
pitch?: number;
bounds?: {
ne: GeoJSON.Position;
sw: GeoJSON.Position;
paddingLeft?: number;
paddingRight?: number;
paddingTop?: number;
paddingBottom?: number;
};
zoomLevel?: number;
animationDuration?: number;
animationMode?: 'flyTo' | 'easeTo' | 'moveTo';
}

export interface CameraSettings {
centerCoordinate?: GeoJSON.Position;
heading?: number;
Expand All @@ -444,7 +427,8 @@ export interface CameraSettings {
};
zoomLevel?: number;
animationDuration?: number;
stops?: CameraStopSettings[];
animationMode?: 'flyTo' | 'easeTo' | 'moveTo';
stops?: CameraSettings[];
}

export interface UserLocationProps {
Expand Down

0 comments on commit 69503c1

Please sign in to comment.