Blog2008 ≫ RE: Google Maps API + Thickbox - 11652

⬆️RE: Google Maps API + Thickbox - 11651

There are a couple of ways, either put it within function load():

function load() {
  if (GBrowserIsCompatible()) {
    setTimeout( function() {
      [map](/wiki/#map) = new GMap2(document.getElementById("[map](/wiki/#map)"));
      [map](/wiki/#map).setCenter(new GLatLng(40.967715,-76.887817), 7);
      [map](/wiki/#map).addControl(new GLargeMapControl());
      ......
    }, 0.1 );
  }
}

or wrap it around the place where you call function load()

💬 RE: Google Maps API + Thickbox - 11685

⬅️ :: ➡️

Paulʼs blog - I live in A sleepy town, Kent. Wed + father to 2, I am a full-stack web engineer, and I do js / nodejs, some ruby, python, php etc. I like pubs, running, restaurants, home automation + other diy jiggery-pokery, history, genealogy, television, squirrels, pirates, lego, and TIME TRAVEL.