Adding Map to Website

A forum for everything else that does not fit into the other categories

Postby ardypilot » Fri Sep 28, 2007 2:41 pm

I'm trying to add a google map to my frontpage website (different from nzff) but I'm getting really lost. Can anyone explain how to do it for me simply?
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6802
Location: Auckland

Postby Timmo » Fri Sep 28, 2007 5:01 pm

Im actually working on this myself for the scenery section to enable one to search for flightsim scenery spatially (both for Flightsim.co.nz and here if possible....dont think it will work on the board though)

What are you trying to do exactly?

You can have at my very early efforts here
http://home.clear.net.nz/pages/timbo.barnes/SceneryFind.htm

http://home.clear.net.nz/pages/timbo.barnes/Map_toggle.htm
Timmo
NZFF Pro
 
Joined: Wed Oct 25, 2006 6:28 pm
Posts: 2056
Location: Tauranga

Postby ardypilot » Fri Sep 28, 2007 5:46 pm

Hi Tim,
I'm trying to insert a map onto this page: http://ahope.server101.com/Draft/contact.htm

That is focused on Ardmore airport, but users can zoom in/out and move around to see where the airport is in relation to their own home.
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6802
Location: Auckland

Postby Timmo » Fri Sep 28, 2007 6:48 pm

This is your problem: <script> src="http://maps.google.com/maps?file=api&amp;v=1&amp;key=abcdefg"<br>The key=xxxxxxx needs to be changed to the key that you signed up for..if you havent signed up for one youll need to and its tied to that specific site.IF you google 'Google Maps API' it will give you the low down, complete with examples of maps which can 'borrow' the code from.oh and any reason why your images are .bmp bitmaps?? Jpeg, png or Gifs are best....saves space and download time
Timmo
NZFF Pro
 
Joined: Wed Oct 25, 2006 6:28 pm
Posts: 2056
Location: Tauranga


Return to Off Topic

Who is online

Users browsing this forum: No registered users and 16 guests