This project is read-only.

Bing Map Streetslide Web API

BlockLookup

http://platform.maps.glbdns.microsoft.com/REST/V1/Imagery/BlockView/BlockLookup/{Latitude},{Longitude}/{Zoom}?key={API key}
Request

Latitude long Latitude of requested streetslide location

Longitude long Longitude of requested streetslide location

API key string API Key issued by Bing Map Developer Site. iPhone Bing App uses

AvlNiRQgHx0x9v3UNufLEfme5-g467LK_fbxxteQANuhtNoL6E9Gjhb_-Nl_FCRL

Response

It returns json formatted values as following,

blockID string

blockRangeID integer

metadataChunkID string

metadataChunkRangeID integer

pixelOffset integer Pixel Offset

isLeftSideOfStreet boolean Indicating if it's left side of street view.

Example

http://platform.maps.glbdns.microsoft.com/REST/V1/Imagery/BlockView/BlockLookup/39.952622952222,-75.170302383115/100.000000?key=AvlNiRQgHx0x9v3UNufLEfme5-g467LK_fbxxteQANuhtNoL6E9Gjhb_-Nl_FCRL
Returns,

{ "blockID": "00000020002202", "blockRangeID": 0, "metadataChunkID": "000000233233003", "metadataChunkRangeID": 0, "pixelOffset": 9276, "isLeftSideOfStreet": true }

Streetslide Meta Data

http://platform.maps.glbdns.microsoft.com/REST/V1/Imagery/BlockView/StreetMetadata/{Country Code}/{blockRangeID}/{blockID}?key={API Key}

Request

Country Code string Country Code. "en-us" for United States.

*blockRangeID" string Block Range ID pulled from BlockLookup.

blockID integer Block ID pulled from BlockLookup.

API key string API Key issued by Bing Map Developer Site. iPhone Bing App uses

AvlNiRQgHx0x9v3UNufLEfme5-g467LK_fbxxteQANuhtNoL6E9Gjhb_-Nl_FCRL

Response

It returns json formatted values as following,

m array

I string Image ID

Example

http://platform.maps.glbdns.microsoft.com/REST/V1/Imagery/BlockView/StreetMetadata/en-us/0/00000020002202?key=AvlNiRQgHx0x9v3UNufLEfme5-g467LK_fbxxteQANuhtNoL6E9Gjhb_-Nl_FCRL
Returns,

{"m":{"V":0,"S":["Ludlow St"],"A":null,"F":null,"M":["000000233233002","000000233233003","000000233233010"],"I":2032,"L":{"W":12678,"H":411,"SO":0,"EO":12678,"C":[4380,11732,12678],"I":[{"P":0,"I":"00000221100302"},{"P":1,"I":"00000221100303"},{"P":2,"I":"00000221100310"},{"P":3,"I":"00000221100311"},{"P":4,"I":"00000221100312"},{"P":5,"I":"00000221100313"},{"P":6,"I":"00000221100320"}],"S":[12678],"B":[[0,410],[1176,410],[1887,394],[2495,388],[3579,389],[4451,382],[5925,381],[7491,367],[7838,367],[8578,374],[9612,390],[10474,383],[11286,382],[12046,373],[12677,371]],"V":357},"R":{"W":14063,"H":482,"SO":0,"EO":14063,"C":[773,8409,14063],"I":[{"P":0,"I":"00000221100321"},{"P":1,"I":"00000221100322"},{"P":2,"I":"00000221100323"},{"P":3,"I":"00000221100330"},{"P":4,"I":"00000221100331"},{"P":5,"I":"00000221100332"},{"P":6,"I":"00000221100333"}],"S":[14063],"B":[[0,394],[432,390],[880,391],[1326,398],[2048,415],[2635,423],[3165,422],[4460,402],[4890,402],[7357,426],[8478,426],[9929,448],[10362,445],[10992,426],[11339,425],[12883,456],[13510,462],[14062,463]],"V":358 } } }

Last edited Jan 26, 2011 at 11:01 PM by fkiller, version 4

Comments

No comments yet.