Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass X-StaticMap-API-Warning header errors in staticMap callback #153

Open
Kaschman opened this issue Nov 7, 2018 · 0 comments
Open

Pass X-StaticMap-API-Warning header errors in staticMap callback #153

Kaschman opened this issue Nov 7, 2018 · 0 comments

Comments

@Kaschman
Copy link

Kaschman commented Nov 7, 2018

As stipulated in Google's documentation, Static Map errors are returned in the X-StaticMap-API-Warning header: https://developers.google.com/maps/documentation/maps-static/error-messages

I expected any errors in the header to be included in the callback function below but they are not. gmAPI.staticMap(params, function(err, binaryImage) { // fetch asynchronously the binary image });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant