出力フォーマット
{"map":{"width":600,
"height":450,
"center":{"lat":35.6644033,
"lon":139.756},
"zoom":12,
"bounds":{"sw":{"lat":35.6016278,
"lon":139.6530172},
"ne":{"lat":35.7271297,
"lon":139.8589828}},
"scale":1},
"imageUri":"https://core.its-mo.com/zmaps/api/pub/cache/f570350e94c579ca6b899af61accc4dd.png"}
キー名 |
データ型 |
説明 |
---|
map |
|
object |
地図情報が入ります。 |
|
width |
number |
横幅が入ります。 |
|
height |
number |
縦幅が入ります。 |
|
center |
object |
中心緯度経度が入ります。 |
|
zoom |
number |
ズーム値が入ります。 |
|
bounds |
object |
緯度経度矩形範囲が入ります。 |
|
scale |
number |
解像度が入ります。 |
imageUri |
|
string |
画像URLが入ります。 |
出力例
[通常出力例]
https://test.core.its-mo.com/zmaps/api/apicore/core/v1_0/map_wm?if_clientid=JSZxxxxxxxxxx|xxxxx&if_auth_type=ip&size=600,450&latlon=35.65851,139.76015&zoom=12
{"map":{"width":600,
"height":450,
"center":{"lat":35.65851,
"lon":139.76015},
"zoom":12,
"bounds":{"sw":{"lat":35.5957297,
"lon":139.6571672},
"ne":{"lat":35.7212411,
"lon":139.8631328}},
"scale":1},
"imageUri":"http://test.core.its-mo.com/zmaps/api/pub/cache/f570350e94c579ca6b899af61accc4dd.png"}
[指定の緯度経度が地図の提供範囲外だった場合]
https://test.core.its-mo.com/zmaps/api/apicore/core/v1_0/map_wm?if_clientid=JSZxxxxxxxxxx|xxxxx&if_auth_type=ip&latlon=30.1,135.1
{"map":{"width":600,
"height":450,
"center":{"lat":30.1,
"lon":135.1},
"zoom":12,
"bounds":{"sw":{"lat":30.0331556,
"lon":134.9970172},
"ne":{"lat":30.1667992,
"lon":135.2029828}},
"scale":1},
"imageUri":null}