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

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to