bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

Google Static Maps v2 plug-in #1263

Closed erny83 closed 1 year ago

erny83 commented 1 year ago

The plugin doesn't work because need a API Key. This is the result of $map->dump() string(213) "The Google Maps Platform server rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account"

pauljherring commented 1 year ago

Did you try setting the key before calling dump()?

Something akin to:

$map->key("YOUR_API_KEY"); $map->dump();

And this is something more suited to the mailing list: https://groups.google.com/g/f3-framework

erny83 commented 1 year ago

ok, thank you. I'll try