google maps - GoogleMaps JS API v3 not working in iOS -
i using google maps java script api v3 in ios. first created sample html hello world example in page
https://developers.google.com/maps/documentation/javascript/tutorial
i used proper google maps api business client id. working fine when launch html page.
but same not working when load same html page in ios project creating webview , loading view html page.
i getting following error
"google has disabled use of maps api application. site not authorized use google maps client id provided. if owner of application, can learn more registering urls here: https://developers.google.com/maps/documentaion/business/guide#urls"
do nee ios projects ?
as mentioned in previous comments, in order use google maps business webview within ios or android app, have register appropriate urls in google console. these urls begin 'file://' , @ time cannot entered users. google representative can these urls registered on behalf. are:
<= ios7 -- file:///var/mobile/applications
ios8 -- file:///private/var/mobile/containers/bundle/application/
android -- file:///android_asset/www/index.html
Comments
Post a Comment