GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Google Map Key Not Working

Click to view RSS...
Author
Posted Thursday, January 26, 2012 - Post #29736
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Thursday, January 26, 2012
Posts: 1, Visits: 2
In our web app we are using google map api, some day ago everything was going fine with Airtel ISP since last 2 or 3 years,
but recently our ISI has changed to Relience and we got new IP ,now problem started,
we got new key for our new IP but it,s not working.
In am giving my script code here..
<script language="javascript" type="text/javascript">
    var googlekey="";
    var key ='<%= request.getRequestURL() %>';   
    if(key.indexOf('115.248.112.195')>='0'){
       googlekey="AIzaSyA57QU7HgQXP1x_8Ye_VKrsgV4yyDS6ZFI";
       <c:set var="googlekey" value="AIzaSyA57QU7HgQXP1x_8Ye_VKrsgV4yyDS6ZFI"/>
    }else if(key.indexOf('115.248.112.194')>='0'){
      googlekey="AIzaSyA8jKlc2SwSL8qO4JtSQSzUJg5oxILt0Fc";   
      <c:set var="googlekey" value="AIzaSyA8jKlc2SwSL8qO4JtSQSzUJg5oxILt0Fc"/>  
    }
    </script>
and we are including this script page where-ever we are using map.
and in that page we are writting our script like--

function initLoader() {
     var script = document.createElement("script");
     script.type = "text/javascript";
       script.src = "http://maps.google.com/maps?file=api&v=2&key="+googlekey+"&async=2&callback=loadMap";
     document.body.appendChild(script);
     setTimeout('',6000);
     }

but problem continues..
please help us...
Thanking all of you in advance..
Posted Saturday, February 4, 2012 - Post #29767
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Friday, February 23, 2024
Posts: 3,319, Visits: 25,438
Don't know why you posted here because your topic does not seem to be related to GenoPro. However my advice is to switch to the latest version of the Google Maps API v3, since an API key is not required any more for that version.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, February 20, 2023 - Post #42849
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Friday, February 23, 2024
Posts: 3,319, Visits: 25,438
I no longer use Google Maps API because of Google's greed Crying

Instead the latest versions of my Narrative Report skin templates use OpenStreetMap instead. The latest versions of all my Report Skin Templates can be found in the first post of this thread: http://support.genopro.com/Topic40608.aspx  Please follow installation instructions carefully. 

Google Translate: 

Ich verwende Google Maps API nicht mehr wegen der Gier von Google Crying

Stattdessen verwenden die neuesten Versionen meiner Narrative Report Skin-Vorlagen stattdessen OpenStreetMap. Die neuesten Versionen aller meiner Report-Skin-Vorlagen finden Sie im ersten Beitrag dieses Threads: http://support.genopro.com/Topic40608.aspx Bitte befolgen Sie die Installationsanweisungen sorgfältig.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse