Jump to content

Managing Multiple Google Maps API keys


Recommended Posts

  • 2 weeks later...
  • 4 months later...

for example you can put something like that between <head> </head>



part of the code



<script src="http://maps.google.com/maps?file=api&v=2&key=<?


if(ereg('balticart.lv',$adres_url)) {echo"FIRST API KEY";}

elseif(ereg('balticart.com',$adres_url)) {echo"SECOND API KEY";}

else {}



<script type="text/javascript">


function load() {

if (GBrowserIsCompatible()) {

var map = new GMap2(document.getElementById("map"));



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...