Reputation: 5177
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?
Upvotes: 1
Views: 924
Reputation: 5177
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.
Upvotes: 1