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..

Threaded View

Expand / Collapse
Threaded View
Forum Post Google Map Key Not Working By raviraj307 ( Thursday, January 26, 2012 )
Forum Post Don't know why you posted here because your topic does not seem to be... By genome ( Saturday, February 4, 2012 )


Similar Topics

Click to view RSS...
Expand / Collapse
No results found!

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!