Open Kaschman opened 6 years ago
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
X-StaticMap-API-Warning
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 });
gmAPI.staticMap(params, function(err, binaryImage) { // fetch asynchronously the binary image });
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-messagesI 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 });