homepage Welcome to WebmasterWorld Guest from 54.167.174.90
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
gmaps api: cant get any driving directions.?
its just a blank map without any pointers or routers on it
StarCoder

5+ Year Member



 
Msg#: 3559820 posted 5:00 pm on Jan 28, 2008 (gmt 0)

Hi,

im playing arround with the google maps api and this directions thingy as seen on [code.google.com...]

if i copy&paste the first example from [code.google.com...] to my own webserver and call it via [localhost...] in my browser then i only get a blank map, but no ponters, no route and no driving directions at the right side.
- firebug dosnt shows any errors, and i also dont get any popups like "unknown location" or so
- there are no includes with invalid paths
- my api key is valid (they dont check the key if the request comes from [localhost...] afaik)

any ideas?

 

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 3559820 posted 12:50 am on Jan 29, 2008 (gmt 0)

welcome to WebmasterWorld [webmasterworld.com], StarCoder!

not a code dump, but please post the relevant javascript, body tag and div tags.
(examplify your maps api key)

StarCoder

5+ Year Member



 
Msg#: 3559820 posted 10:24 am on Jan 31, 2008 (gmt 0)

thanks, already solved it.
everything worked fine when i uploaded the code to my webserver. if you leave it on [localhost...] you only get the map, but no driving directions or any overlays :/

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved