@sk-global/js-msearch-gsi-jp 2.1.20 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/jma-hierarchy.d.ts +22 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/m_jma_geocode.d.ts +12 -0
- package/package.json +3 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface JMAAreaInfo {
|
|
2
|
+
code?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
enName?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface JMAOfficeInfo extends JMAAreaInfo {
|
|
7
|
+
/** Responsible meteorological office (気象台名) */
|
|
8
|
+
officeName?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface JMAClass20Info {
|
|
11
|
+
code?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
enName?: string;
|
|
14
|
+
kana?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface JMAHierarchyEntry {
|
|
17
|
+
office: JMAOfficeInfo;
|
|
18
|
+
class10: JMAAreaInfo;
|
|
19
|
+
class15?: JMAAreaInfo;
|
|
20
|
+
class20: JMAClass20Info;
|
|
21
|
+
}
|
|
22
|
+
export declare const jmaHierarchy: Record<string, JMAHierarchyEntry>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { openReverseGeocoder, latLonToAddress, getElevation, gsiReverseGeocoder } from './m_reverse_geocode';
|
|
2
|
+
import { latLonToJMACode, JMAHierarchyEntry } from './m_jma_geocode';
|
|
3
|
+
export type { JMAHierarchyEntry };
|
|
4
|
+
export type { JMAAreaInfo, JMAOfficeInfo, JMAClass20Info } from './data/jma-hierarchy';
|
|
2
5
|
import { getMuniMap } from './muni';
|
|
3
6
|
import { searchAddress } from './msearch';
|
|
4
|
-
export { latLonToAddress, getElevation, gsiReverseGeocoder, openReverseGeocoder, getMuniMap as getCityMap, searchAddress, };
|
|
7
|
+
export { latLonToAddress, getElevation, gsiReverseGeocoder, openReverseGeocoder, getMuniMap as getCityMap, searchAddress, latLonToJMACode, };
|