Reputation: 4365
I'm trying to use the Azure Get Map Image API call. When using the "Try It!" feature in the documentation, I get a status 200 (success). When I put the request in the browser, a blank map is returned.
Request:
https://atlas.microsoft.com/map/static/png?subscription-key=<myApiKey>&api-version=1.0&layer=hybrid&zoom=7¢er=-122.3927721%2047.568873&height=800&width=800&language=en&style=main
Please advise. Thank you
Upvotes: 0
Views: 611
Reputation: 316
I think your request isn't formatted correctly. The center
query param needs to have a ,
between the long
and the lat
(right now it has a space %20
).
Try this:
https://atlas.microsoft.com/map/static/png?subscription-key=<myApiKey>&api-version=1.0&layer=hybrid&zoom=7¢er=-122.3927721,47.568873&height=800&width=800&language=en&style=main
Upvotes: 2