@heycar/heycars-map 0.3.0 → 0.3.2

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.
Files changed (31) hide show
  1. package/README.md +1 -1
  2. package/dist/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +3 -1
  3. package/dist/hooks/useMapAutoComplete.d.ts +10 -6
  4. package/dist/hooks/useMapCityBound.d.ts +5 -5
  5. package/dist/hooks/useMapLog.d.ts +2 -1
  6. package/dist/hooks/useMapPlace.d.ts +13 -2
  7. package/dist/hooks/useMapRecomendPlace.d.ts +12 -2
  8. package/dist/hooks-business/useBusinessMapAutoComplete.d.ts +4 -2
  9. package/dist/hooks-business/useBusinessRecomendPlaceMap.d.ts +4 -2
  10. package/dist/index.cjs +52 -52
  11. package/dist/index.js +1095 -1064
  12. package/dist/style.css +1 -1
  13. package/dist/types/interface.d.ts +2 -1
  14. package/package.json +1 -1
  15. package/src/Demo/DemoBusinessRecomendPlace.tsx +16 -8
  16. package/src/Demo/sample.json +793 -0
  17. package/src/business-components/AbsoluteAddressBox/AbsoluteAddressBox.css.ts +2 -0
  18. package/src/business-components/AbsoluteAddressBox/AbsoluteAddressBox.tsx +5 -3
  19. package/src/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.tsx +26 -22
  20. package/src/hooks/useGeoLocation.ts +6 -2
  21. package/src/hooks/useMapAutoComplete.ts +7 -5
  22. package/src/hooks/useMapCityBound.ts +5 -5
  23. package/src/hooks/useMapDrag.ts +7 -2
  24. package/src/hooks/useMapLog.ts +14 -2
  25. package/src/hooks/useMapPlace.ts +39 -16
  26. package/src/hooks/useMapRecomendPlace.ts +17 -4
  27. package/src/hooks-business/useBusinessMapAutoComplete.ts +3 -2
  28. package/src/hooks-business/useBusinessRecomendPlaceMap.ts +5 -5
  29. package/src/types/interface.ts +2 -1
  30. package/dist/hooks-business/useLagecyMapRecomendPlace.d.ts +0 -55
  31. package/src/hooks-business/useLagecyMapRecomendPlace.ts +0 -152
@@ -0,0 +1,793 @@
1
+ {
2
+ "plus_code": {
3
+ "compound_code": "MMRR+22X 日本东京都新宿区",
4
+ "global_code": "8Q7XMMRR+22X"
5
+ },
6
+ "results": [
7
+ {
8
+ "address_components": [
9
+ {
10
+ "long_name": "Shinjuku Central Park Water Square",
11
+ "short_name": "Shinjuku Central Park Water Square",
12
+ "types": ["establishment", "park", "point_of_interest"]
13
+ },
14
+ {
15
+ "long_name": "11",
16
+ "short_name": "11",
17
+ "types": ["political", "sublocality", "sublocality_level_4"]
18
+ },
19
+ {
20
+ "long_name": "2-chōme",
21
+ "short_name": "2-chōme",
22
+ "types": ["political", "sublocality", "sublocality_level_3"]
23
+ },
24
+ {
25
+ "long_name": "Nishishinjuku",
26
+ "short_name": "Nishishinjuku",
27
+ "types": ["political", "sublocality", "sublocality_level_2"]
28
+ },
29
+ {
30
+ "long_name": "Shinjuku City",
31
+ "short_name": "Shinjuku City",
32
+ "types": ["locality", "political"]
33
+ },
34
+ {
35
+ "long_name": "Tokyo",
36
+ "short_name": "Tokyo",
37
+ "types": ["administrative_area_level_1", "political"]
38
+ },
39
+ {
40
+ "long_name": "日本",
41
+ "short_name": "JP",
42
+ "types": ["country", "political"]
43
+ },
44
+ {
45
+ "long_name": "160-0023",
46
+ "short_name": "160-0023",
47
+ "types": ["postal_code"]
48
+ }
49
+ ],
50
+ "formatted_address": "Shinjuku Central Park Water Square, 2-chōme-11 Nishishinjuku, Shinjuku City, Tokyo 160-0023日本",
51
+ "geometry": {
52
+ "location": {
53
+ "lat": 35.690133,
54
+ "lng": 139.6900308
55
+ },
56
+ "location_type": "ROOFTOP",
57
+ "viewport": {
58
+ "northeast": {
59
+ "lat": 35.6914819802915,
60
+ "lng": 139.6913797802915
61
+ },
62
+ "southwest": {
63
+ "lat": 35.6887840197085,
64
+ "lng": 139.6886818197085
65
+ }
66
+ }
67
+ },
68
+ "place_id": "ChIJkUujZkfzGGARQJHAGllpjCE",
69
+ "plus_code": {
70
+ "compound_code": "MMRR+32 日本东京都新宿区",
71
+ "global_code": "8Q7XMMRR+32"
72
+ },
73
+ "types": ["establishment", "park", "point_of_interest"]
74
+ },
75
+ {
76
+ "address_components": [
77
+ {
78
+ "long_name": "Tochomae Station",
79
+ "short_name": "Tochomae Station",
80
+ "types": ["premise"]
81
+ },
82
+ {
83
+ "long_name": "1",
84
+ "short_name": "1",
85
+ "types": ["premise"]
86
+ },
87
+ {
88
+ "long_name": "8",
89
+ "short_name": "8",
90
+ "types": ["political", "sublocality", "sublocality_level_4"]
91
+ },
92
+ {
93
+ "long_name": "2-chōme",
94
+ "short_name": "2-chōme",
95
+ "types": ["political", "sublocality", "sublocality_level_3"]
96
+ },
97
+ {
98
+ "long_name": "Nishishinjuku",
99
+ "short_name": "Nishishinjuku",
100
+ "types": ["political", "sublocality", "sublocality_level_2"]
101
+ },
102
+ {
103
+ "long_name": "Shinjuku City",
104
+ "short_name": "Shinjuku City",
105
+ "types": ["locality", "political"]
106
+ },
107
+ {
108
+ "long_name": "Tokyo",
109
+ "short_name": "Tokyo",
110
+ "types": ["administrative_area_level_1", "political"]
111
+ },
112
+ {
113
+ "long_name": "日本",
114
+ "short_name": "JP",
115
+ "types": ["country", "political"]
116
+ },
117
+ {
118
+ "long_name": "160-0023",
119
+ "short_name": "160-0023",
120
+ "types": ["postal_code"]
121
+ }
122
+ ],
123
+ "formatted_address": "Tochomae Station, 2-chōme-8-1 Nishishinjuku, Shinjuku City, Tokyo 160-0023日本",
124
+ "geometry": {
125
+ "bounds": {
126
+ "northeast": {
127
+ "lat": 35.6904579,
128
+ "lng": 139.6934493
129
+ },
130
+ "southwest": {
131
+ "lat": 35.690131,
132
+ "lng": 139.6903492
133
+ }
134
+ },
135
+ "location": {
136
+ "lat": 35.6902406,
137
+ "lng": 139.6917656
138
+ },
139
+ "location_type": "ROOFTOP",
140
+ "viewport": {
141
+ "northeast": {
142
+ "lat": 35.6916434302915,
143
+ "lng": 139.6934493
144
+ },
145
+ "southwest": {
146
+ "lat": 35.6889454697085,
147
+ "lng": 139.6903492
148
+ }
149
+ }
150
+ },
151
+ "place_id": "ChIJjXjW1SrzGGARoMbFnqKoyTU",
152
+ "types": ["premise"]
153
+ },
154
+ {
155
+ "address_components": [
156
+ {
157
+ "long_name": "都厅前",
158
+ "short_name": "都厅前",
159
+ "types": ["establishment", "point_of_interest", "subway_station", "transit_station"]
160
+ },
161
+ {
162
+ "long_name": "1",
163
+ "short_name": "1",
164
+ "types": ["premise"]
165
+ },
166
+ {
167
+ "long_name": "8",
168
+ "short_name": "8",
169
+ "types": ["political", "sublocality", "sublocality_level_4"]
170
+ },
171
+ {
172
+ "long_name": "2-chōme",
173
+ "short_name": "2-chōme",
174
+ "types": ["political", "sublocality", "sublocality_level_3"]
175
+ },
176
+ {
177
+ "long_name": "Nishishinjuku",
178
+ "short_name": "Nishishinjuku",
179
+ "types": ["political", "sublocality", "sublocality_level_2"]
180
+ },
181
+ {
182
+ "long_name": "Shinjuku City",
183
+ "short_name": "Shinjuku City",
184
+ "types": ["locality", "political"]
185
+ },
186
+ {
187
+ "long_name": "Tokyo",
188
+ "short_name": "Tokyo",
189
+ "types": ["administrative_area_level_1", "political"]
190
+ },
191
+ {
192
+ "long_name": "日本",
193
+ "short_name": "JP",
194
+ "types": ["country", "political"]
195
+ },
196
+ {
197
+ "long_name": "160-0023",
198
+ "short_name": "160-0023",
199
+ "types": ["postal_code"]
200
+ }
201
+ ],
202
+ "formatted_address": "日本〒160-0023 Tokyo, Shinjuku City, Nishishinjuku, 2-chōme−8−1都厅前",
203
+ "geometry": {
204
+ "location": {
205
+ "lat": 35.6905696,
206
+ "lng": 139.6926607
207
+ },
208
+ "location_type": "ROOFTOP",
209
+ "viewport": {
210
+ "northeast": {
211
+ "lat": 35.6919185802915,
212
+ "lng": 139.6940096802915
213
+ },
214
+ "southwest": {
215
+ "lat": 35.6892206197085,
216
+ "lng": 139.6913117197085
217
+ }
218
+ }
219
+ },
220
+ "place_id": "ChIJr70g59SMGGARlOhBY27MKgs",
221
+ "plus_code": {
222
+ "compound_code": "MMRV+63 日本东京都新宿区",
223
+ "global_code": "8Q7XMMRV+63"
224
+ },
225
+ "types": ["establishment", "point_of_interest", "subway_station", "transit_station"]
226
+ },
227
+ {
228
+ "address_components": [
229
+ {
230
+ "long_name": "MMRR+22",
231
+ "short_name": "MMRR+22",
232
+ "types": ["plus_code"]
233
+ },
234
+ {
235
+ "long_name": "新宿区",
236
+ "short_name": "新宿区",
237
+ "types": ["locality", "political"]
238
+ },
239
+ {
240
+ "long_name": "东京都",
241
+ "short_name": "东京都",
242
+ "types": ["administrative_area_level_1", "political"]
243
+ },
244
+ {
245
+ "long_name": "日本",
246
+ "short_name": "JP",
247
+ "types": ["country", "political"]
248
+ }
249
+ ],
250
+ "formatted_address": "MMRR+22 日本东京都新宿区",
251
+ "geometry": {
252
+ "bounds": {
253
+ "northeast": {
254
+ "lat": 35.690125,
255
+ "lng": 139.690125
256
+ },
257
+ "southwest": {
258
+ "lat": 35.69,
259
+ "lng": 139.69
260
+ }
261
+ },
262
+ "location": {
263
+ "lat": 35.6901,
264
+ "lng": 139.6901
265
+ },
266
+ "location_type": "GEOMETRIC_CENTER",
267
+ "viewport": {
268
+ "northeast": {
269
+ "lat": 35.6914114802915,
270
+ "lng": 139.6914114802915
271
+ },
272
+ "southwest": {
273
+ "lat": 35.6887135197085,
274
+ "lng": 139.6887135197085
275
+ }
276
+ }
277
+ },
278
+ "place_id": "GhIJHHxhMlXYQUARB1-YTBV2YUA",
279
+ "plus_code": {
280
+ "compound_code": "MMRR+22 日本东京都新宿区",
281
+ "global_code": "8Q7XMMRR+22"
282
+ },
283
+ "types": ["plus_code"]
284
+ },
285
+ {
286
+ "address_components": [
287
+ {
288
+ "long_name": "Koen Dori",
289
+ "short_name": "Koen Dori",
290
+ "types": ["route"]
291
+ },
292
+ {
293
+ "long_name": "11",
294
+ "short_name": "11",
295
+ "types": ["political", "sublocality", "sublocality_level_4"]
296
+ },
297
+ {
298
+ "long_name": "2-chōme",
299
+ "short_name": "2-chōme",
300
+ "types": ["political", "sublocality", "sublocality_level_3"]
301
+ },
302
+ {
303
+ "long_name": "Nishishinjuku",
304
+ "short_name": "Nishishinjuku",
305
+ "types": ["political", "sublocality", "sublocality_level_2"]
306
+ },
307
+ {
308
+ "long_name": "Shinjuku City",
309
+ "short_name": "Shinjuku City",
310
+ "types": ["locality", "political"]
311
+ },
312
+ {
313
+ "long_name": "Tokyo",
314
+ "short_name": "Tokyo",
315
+ "types": ["administrative_area_level_1", "political"]
316
+ },
317
+ {
318
+ "long_name": "日本",
319
+ "short_name": "JP",
320
+ "types": ["country", "political"]
321
+ },
322
+ {
323
+ "long_name": "160-0023",
324
+ "short_name": "160-0023",
325
+ "types": ["postal_code"]
326
+ }
327
+ ],
328
+ "formatted_address": "Koen Dori, 2-chōme-11 Nishishinjuku, Shinjuku City, Tokyo 160-0023日本",
329
+ "geometry": {
330
+ "bounds": {
331
+ "northeast": {
332
+ "lat": 35.6902064,
333
+ "lng": 139.690772
334
+ },
335
+ "southwest": {
336
+ "lat": 35.6897029,
337
+ "lng": 139.6906558
338
+ }
339
+ },
340
+ "location": {
341
+ "lat": 35.6899545,
342
+ "lng": 139.6907128
343
+ },
344
+ "location_type": "GEOMETRIC_CENTER",
345
+ "viewport": {
346
+ "northeast": {
347
+ "lat": 35.6913036302915,
348
+ "lng": 139.6920628802915
349
+ },
350
+ "southwest": {
351
+ "lat": 35.6886056697085,
352
+ "lng": 139.6893649197085
353
+ }
354
+ }
355
+ },
356
+ "place_id": "ChIJIzQIKSvzGGAR7LfbmPg8Bhs",
357
+ "types": ["route"]
358
+ },
359
+ {
360
+ "address_components": [
361
+ {
362
+ "long_name": "11",
363
+ "short_name": "11",
364
+ "types": ["political", "sublocality", "sublocality_level_4"]
365
+ },
366
+ {
367
+ "long_name": "2 Chome",
368
+ "short_name": "2 Chome",
369
+ "types": ["political", "sublocality", "sublocality_level_3"]
370
+ },
371
+ {
372
+ "long_name": "Nishishinjuku",
373
+ "short_name": "Nishishinjuku",
374
+ "types": ["political", "sublocality", "sublocality_level_2"]
375
+ },
376
+ {
377
+ "long_name": "Shinjuku City",
378
+ "short_name": "Shinjuku City",
379
+ "types": ["locality", "political"]
380
+ },
381
+ {
382
+ "long_name": "Tokyo",
383
+ "short_name": "Tokyo",
384
+ "types": ["administrative_area_level_1", "political"]
385
+ },
386
+ {
387
+ "long_name": "日本",
388
+ "short_name": "JP",
389
+ "types": ["country", "political"]
390
+ },
391
+ {
392
+ "long_name": "160-0023",
393
+ "short_name": "160-0023",
394
+ "types": ["postal_code"]
395
+ }
396
+ ],
397
+ "formatted_address": "2 Chome-11 Nishishinjuku, Shinjuku City, Tokyo 160-0023日本",
398
+ "geometry": {
399
+ "bounds": {
400
+ "northeast": {
401
+ "lat": 35.6919895,
402
+ "lng": 139.6911296
403
+ },
404
+ "southwest": {
405
+ "lat": 35.6883018,
406
+ "lng": 139.6872931
407
+ }
408
+ },
409
+ "location": {
410
+ "lat": 35.6901236,
411
+ "lng": 139.689223
412
+ },
413
+ "location_type": "GEOMETRIC_CENTER",
414
+ "viewport": {
415
+ "northeast": {
416
+ "lat": 35.6919895,
417
+ "lng": 139.6911296
418
+ },
419
+ "southwest": {
420
+ "lat": 35.6883018,
421
+ "lng": 139.6872931
422
+ }
423
+ }
424
+ },
425
+ "place_id": "ChIJi827-irzGGAROR56ODop3C0",
426
+ "types": ["political", "sublocality", "sublocality_level_4"]
427
+ },
428
+ {
429
+ "address_components": [
430
+ {
431
+ "long_name": "2 Chome",
432
+ "short_name": "2 Chome",
433
+ "types": ["political", "sublocality", "sublocality_level_3"]
434
+ },
435
+ {
436
+ "long_name": "Nishishinjuku",
437
+ "short_name": "Nishishinjuku",
438
+ "types": ["political", "sublocality", "sublocality_level_2"]
439
+ },
440
+ {
441
+ "long_name": "Shinjuku City",
442
+ "short_name": "Shinjuku City",
443
+ "types": ["locality", "political"]
444
+ },
445
+ {
446
+ "long_name": "Tokyo",
447
+ "short_name": "Tokyo",
448
+ "types": ["administrative_area_level_1", "political"]
449
+ },
450
+ {
451
+ "long_name": "日本",
452
+ "short_name": "JP",
453
+ "types": ["country", "political"]
454
+ },
455
+ {
456
+ "long_name": "160-0023",
457
+ "short_name": "160-0023",
458
+ "types": ["postal_code"]
459
+ }
460
+ ],
461
+ "formatted_address": "2 Chome Nishishinjuku, Shinjuku City, Tokyo 160-0023日本",
462
+ "geometry": {
463
+ "bounds": {
464
+ "northeast": {
465
+ "lat": 35.6926076,
466
+ "lng": 139.6957189
467
+ },
468
+ "southwest": {
469
+ "lat": 35.6862165,
470
+ "lng": 139.6872931
471
+ }
472
+ },
473
+ "location": {
474
+ "lat": 35.6896857,
475
+ "lng": 139.6924137
476
+ },
477
+ "location_type": "APPROXIMATE",
478
+ "viewport": {
479
+ "northeast": {
480
+ "lat": 35.6926076,
481
+ "lng": 139.6957189
482
+ },
483
+ "southwest": {
484
+ "lat": 35.6862165,
485
+ "lng": 139.6872931
486
+ }
487
+ }
488
+ },
489
+ "place_id": "ChIJ8e4AytSMGGARkxl-OelsoYg",
490
+ "types": ["political", "sublocality", "sublocality_level_3"]
491
+ },
492
+ {
493
+ "address_components": [
494
+ {
495
+ "long_name": "西新宿",
496
+ "short_name": "西新宿",
497
+ "types": ["political", "sublocality", "sublocality_level_2"]
498
+ },
499
+ {
500
+ "long_name": "新宿区",
501
+ "short_name": "新宿区",
502
+ "types": ["locality", "political"]
503
+ },
504
+ {
505
+ "long_name": "东京都",
506
+ "short_name": "东京都",
507
+ "types": ["administrative_area_level_1", "political"]
508
+ },
509
+ {
510
+ "long_name": "日本",
511
+ "short_name": "JP",
512
+ "types": ["country", "political"]
513
+ },
514
+ {
515
+ "long_name": "160-0023",
516
+ "short_name": "160-0023",
517
+ "types": ["postal_code"]
518
+ }
519
+ ],
520
+ "formatted_address": "日本〒160-0023 东京都新宿区西新宿",
521
+ "geometry": {
522
+ "bounds": {
523
+ "northeast": {
524
+ "lat": 35.6980536,
525
+ "lng": 139.7000996
526
+ },
527
+ "southwest": {
528
+ "lat": 35.6818313,
529
+ "lng": 139.6831227
530
+ }
531
+ },
532
+ "location": {
533
+ "lat": 35.6913457,
534
+ "lng": 139.69369
535
+ },
536
+ "location_type": "APPROXIMATE",
537
+ "viewport": {
538
+ "northeast": {
539
+ "lat": 35.6980536,
540
+ "lng": 139.7000996
541
+ },
542
+ "southwest": {
543
+ "lat": 35.6818313,
544
+ "lng": 139.6831227
545
+ }
546
+ }
547
+ },
548
+ "place_id": "ChIJV_-6z9SMGGARPdOPQSpdOBI",
549
+ "types": ["political", "sublocality", "sublocality_level_2"]
550
+ },
551
+ {
552
+ "address_components": [
553
+ {
554
+ "long_name": "160-0023",
555
+ "short_name": "160-0023",
556
+ "types": ["postal_code"]
557
+ },
558
+ {
559
+ "long_name": "西新宿",
560
+ "short_name": "西新宿",
561
+ "types": ["political", "sublocality", "sublocality_level_2"]
562
+ },
563
+ {
564
+ "long_name": "新宿区",
565
+ "short_name": "新宿区",
566
+ "types": ["locality", "political"]
567
+ },
568
+ {
569
+ "long_name": "东京都",
570
+ "short_name": "东京都",
571
+ "types": ["administrative_area_level_1", "political"]
572
+ },
573
+ {
574
+ "long_name": "日本",
575
+ "short_name": "JP",
576
+ "types": ["country", "political"]
577
+ }
578
+ ],
579
+ "formatted_address": "日本 〒160-0023",
580
+ "geometry": {
581
+ "bounds": {
582
+ "northeast": {
583
+ "lat": 35.6980536,
584
+ "lng": 139.7000996
585
+ },
586
+ "southwest": {
587
+ "lat": 35.6818313,
588
+ "lng": 139.6831227
589
+ }
590
+ },
591
+ "location": {
592
+ "lat": 35.6913457,
593
+ "lng": 139.69369
594
+ },
595
+ "location_type": "APPROXIMATE",
596
+ "viewport": {
597
+ "northeast": {
598
+ "lat": 35.6980536,
599
+ "lng": 139.7000996
600
+ },
601
+ "southwest": {
602
+ "lat": 35.6818313,
603
+ "lng": 139.6831227
604
+ }
605
+ }
606
+ },
607
+ "place_id": "ChIJd5R2e9byGGARys80SmZHhOw",
608
+ "types": ["postal_code"]
609
+ },
610
+ {
611
+ "address_components": [
612
+ {
613
+ "long_name": "新宿区",
614
+ "short_name": "新宿区",
615
+ "types": ["locality", "political"]
616
+ },
617
+ {
618
+ "long_name": "东京都",
619
+ "short_name": "东京都",
620
+ "types": ["administrative_area_level_1", "political"]
621
+ },
622
+ {
623
+ "long_name": "日本",
624
+ "short_name": "JP",
625
+ "types": ["country", "political"]
626
+ }
627
+ ],
628
+ "formatted_address": "日本东京都新宿区",
629
+ "geometry": {
630
+ "bounds": {
631
+ "northeast": {
632
+ "lat": 35.7298995,
633
+ "lng": 139.7451386
634
+ },
635
+ "southwest": {
636
+ "lat": 35.673278,
637
+ "lng": 139.6732558
638
+ }
639
+ },
640
+ "location": {
641
+ "lat": 35.6938253,
642
+ "lng": 139.7033559
643
+ },
644
+ "location_type": "APPROXIMATE",
645
+ "viewport": {
646
+ "northeast": {
647
+ "lat": 35.7298995,
648
+ "lng": 139.7451386
649
+ },
650
+ "southwest": {
651
+ "lat": 35.673278,
652
+ "lng": 139.6732558
653
+ }
654
+ }
655
+ },
656
+ "place_id": "ChIJS_23WSCNGGAR0u8y4o_GYew",
657
+ "types": ["locality", "political"]
658
+ },
659
+ {
660
+ "address_components": [
661
+ {
662
+ "long_name": "东京",
663
+ "short_name": "东京",
664
+ "types": ["colloquial_area", "locality", "political"]
665
+ },
666
+ {
667
+ "long_name": "东京都",
668
+ "short_name": "东京都",
669
+ "types": ["administrative_area_level_1", "political"]
670
+ },
671
+ {
672
+ "long_name": "日本",
673
+ "short_name": "JP",
674
+ "types": ["country", "political"]
675
+ }
676
+ ],
677
+ "formatted_address": "日本东京都东京",
678
+ "geometry": {
679
+ "bounds": {
680
+ "northeast": {
681
+ "lat": 35.8174453,
682
+ "lng": 139.9188743
683
+ },
684
+ "southwest": {
685
+ "lat": 35.519042,
686
+ "lng": 139.5628611
687
+ }
688
+ },
689
+ "location": {
690
+ "lat": 35.6803997,
691
+ "lng": 139.7690174
692
+ },
693
+ "location_type": "APPROXIMATE",
694
+ "viewport": {
695
+ "northeast": {
696
+ "lat": 35.8174453,
697
+ "lng": 139.9188743
698
+ },
699
+ "southwest": {
700
+ "lat": 35.519042,
701
+ "lng": 139.5628611
702
+ }
703
+ }
704
+ },
705
+ "place_id": "ChIJXSModoWLGGARILWiCfeu2M0",
706
+ "types": ["colloquial_area", "locality", "political"]
707
+ },
708
+ {
709
+ "address_components": [
710
+ {
711
+ "long_name": "东京都",
712
+ "short_name": "东京都",
713
+ "types": ["administrative_area_level_1", "political"]
714
+ },
715
+ {
716
+ "long_name": "日本",
717
+ "short_name": "JP",
718
+ "types": ["country", "political"]
719
+ }
720
+ ],
721
+ "formatted_address": "日本东京都",
722
+ "geometry": {
723
+ "bounds": {
724
+ "northeast": {
725
+ "lat": 35.8984074,
726
+ "lng": 153.9867945
727
+ },
728
+ "southwest": {
729
+ "lat": 20.4231216,
730
+ "lng": 136.0696826
731
+ }
732
+ },
733
+ "location": {
734
+ "lat": 35.6761919,
735
+ "lng": 139.6503106
736
+ },
737
+ "location_type": "APPROXIMATE",
738
+ "viewport": {
739
+ "northeast": {
740
+ "lat": 35.8984074,
741
+ "lng": 153.9867945
742
+ },
743
+ "southwest": {
744
+ "lat": 20.4231216,
745
+ "lng": 136.0696826
746
+ }
747
+ }
748
+ },
749
+ "place_id": "ChIJ51cu8IcbXWARiRtXIothAS4",
750
+ "types": ["administrative_area_level_1", "political"]
751
+ },
752
+ {
753
+ "address_components": [
754
+ {
755
+ "long_name": "日本",
756
+ "short_name": "JP",
757
+ "types": ["country", "political"]
758
+ }
759
+ ],
760
+ "formatted_address": "日本",
761
+ "geometry": {
762
+ "bounds": {
763
+ "northeast": {
764
+ "lat": 45.6412626,
765
+ "lng": 154.0031455
766
+ },
767
+ "southwest": {
768
+ "lat": 20.3585295,
769
+ "lng": 122.8554688
770
+ }
771
+ },
772
+ "location": {
773
+ "lat": 36.204824,
774
+ "lng": 138.252924
775
+ },
776
+ "location_type": "APPROXIMATE",
777
+ "viewport": {
778
+ "northeast": {
779
+ "lat": 45.6412626,
780
+ "lng": 154.0031455
781
+ },
782
+ "southwest": {
783
+ "lat": 20.3585295,
784
+ "lng": 122.8554688
785
+ }
786
+ }
787
+ },
788
+ "place_id": "ChIJLxl_1w9OZzQRRFJmfNR1QvU",
789
+ "types": ["country", "political"]
790
+ }
791
+ ],
792
+ "status": "OK"
793
+ }