views:

244

answers:

1

If I do something like

map = new GMap2(document.getElementById(mapCanvas));
directions = new GDirections(map);
directions.load("SOME DIRECTIONS HERE");

Under firefox on LInux it works great! Under safari it displays the map but not the directions.

What gives?

+1  A: 

Figured it out.

The Google Maps API will not let you use GDirections without a valid API Key. Also you can't use an ip, so you have to use DNS.

DevDevDev