javascript - Cant find the Gmaps API in CodeIgniter Environment -


good day you,

i have difficulty in finding google maps api key. had change base_url in config file , since gives me error:

google maps api error: missingkeymaperror https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js?v=3.exp&signed_in=false&sensor=false&libraries=places&language=en-usa:32 util.js:211

google maps api warning: noapikeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys util.js:211 google maps api warning: sensornotrequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

if add tag api key <head> of page: <script src="https://maps.googleapis.com/maps/api/js?key=your_api_key" type="text/javascript"></script>

i error:

enter image description here unfortunately have img of error right now.

first missing duplicated. , why missing if change config?i know have new api key new domain , did there conflict old api key cant find anywhere. find original key? tried searching in files couldnt find key. have hint me? tried searching files "googleapis.com". maybe there otherway link google api of dont know. im looking forward fixed.

thank time read , hope can me

regards theweeezel

as error stated :

the script element loads api missing required authentication parameter. if using standard maps javascript api, must use key parameter valid api key. if premium plan customer, must use either client parameter client id or key parameter valid api key.

if check guide api keys , client ids. kindly double check api key created , follow script tag below.

if you're using api under standard plan, must use browser key (a type of api key) set in project of choice.

specify key when loading api

to specify key, include value of key parameter when loading api.

for example:

note:

google maps apis available android or ios apps, web browsers, , via http web services. apis in each platform require specific type of key. the google maps javascript api work browser key. apis of same platform can use same key.

hope helps.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

android - CoordinatorLayout, FAB and container layout conflict -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -