3 ms·
Interesting, although I'm not sure why they are setting an invalid value for Image.crossOrigin. The only valid values for this are "anonymous" and "use-credenti
by mmastrac 13y ago
Interesting, although I'm not sure why they are setting an invalid value for Image.crossOrigin. The only valid values for this are "anonymous" and "use-credentials". Setting an invalid value (like a URL) is treated as "anonymous".
EDIT: And when running the jsfiddle demo, it looks like Google isn't sending any CORS headers from the given map image, breaking the demo entirely:
http://maps.googleapis.com/maps/api/staticmap?scale=2¢er=40.7300694,-74.0024224&zoom=13&size=1024x160&sensor=false&visual_refresh=true http://maps.googleapis.com/maps/api/staticmap?scale=2¢er...