-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Shan He <heshan0131@gmail.com>
- Loading branch information
1 parent
d413885
commit eddfb05
Showing
13 changed files
with
38 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
import {ExportImage} from 'reducers/ui-state-updaters'; | ||
|
||
export const downloadFile: (fileBlob: Blob, fileName: string) => void; | ||
export const exportJson: (state: any, options: object) => void; | ||
export const exportHtml: (state: any, options: object) => void; | ||
export const exportData: (state: any, options: object) => void; | ||
export const exportMap: (state: any, options?: object) => void; | ||
export const exportImage: (props: { | ||
mapW: number; | ||
mapH: number; | ||
ratio: string; | ||
resolution: string; | ||
}) => void; | ||
export const exportImage: (uiStateExportImage: ExportImage, fileName?: string) => void; | ||
export const convertToPng: (sourceElem: HTMLElement, options: object) => Promise; | ||
export const getScaleFromImageSize: (imageW: number, imageH: number, mapW: number, mapH: number) => number; | ||
export const getScaleFromImageSize: ( | ||
imageW: number, | ||
imageH: number, | ||
mapW: number, | ||
mapH: number | ||
) => number; | ||
export const dataURItoBlob: (dataURI: string) => Blob; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters