rvalitov / widgetkit-map-ex

Responsive version of Yootheme's Map Widget (Widgetkit2) with center map point and advanced features
GNU General Public License v3.0
22 stars 3 forks source link

Add validation for Google Maps API Key #56

Closed rvalitov closed 7 years ago

rvalitov commented 7 years ago

Currently the value that user enters is not validated. Initial idea was of some primitive validation, e.g. the standard length of API key is 39 chars. But probably longer keys exist (40 chars).

But finally it's better to implement a method that will actually validate the key on the Google servers.