+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 49
Web Development Thread, Alternative to google maps API in Coding and Web Development; I'm gonna have to look for that CoffeyVille Municipal Airport. Maybe Birmingham Airport just down the road renamed themselves, hehe....
  1. #16

    Join Date
    May 2006
    Posts
    1,319
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Alternative to google maps API

    I'm gonna have to look for that CoffeyVille Municipal Airport. Maybe Birmingham Airport just down the road renamed themselves, hehe.

  2. #17

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Alternative to google maps API

    Isn't geocode lookup using that method against Google TOS?

  3. #18

    Join Date
    Feb 2007
    Posts
    86
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Alternative to google maps API

    8O
    I dont know tbh. Its the same as just going into google typing in your address and getting the lat & long from there and using it on your own system.

    I hope not.

  4. #19

    Join Date
    May 2006
    Posts
    1,319
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Alternative to google maps API

    I can't get it to work anyway. Do you know what i did wrong? That map ends up on a remote location on the borders of Kansas and Oklahoma.

  5. #20

    Join Date
    Feb 2007
    Posts
    86
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Alternative to google maps API

    eh? i have just looked at the link and it works fine. i can see you are beside yardley park.
    Clear your cache and try it
    IE >> tools >> options >> delete files.

    This is the link i used and it comes up in IE7 and Firefox.
    http://www.theovalprimary.co.uk/maps...code=B33%208JG

  6. #21

    Join Date
    May 2006
    Posts
    1,319
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Alternative to google maps API

    Hmm, dunno what happened with mine the first time lol.

    You are right, the birds eye view looks quite amazing. I'll remove the little bits of text at the top and incorpororate it. As for using the google servers... i'll look into that and see what I can find.

    The only other issue is the location it finds with the postcode... it finds a location about 100 metres to the right of the school, is there any easy fix for that?

  7. #22

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Alternative to google maps API

    To get the coords, go to Google maps UK, double-click where you want the map to centre on, and click 'Link to this page' at the top. The references will be in the resulting URL.

  8. #23

    Join Date
    Feb 2007
    Posts
    86
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Alternative to google maps API

    If you want too just use the lat and long co-ords then remove the top PHP script i wrote and look for the line:
    Code:
    map.LoadMap(new VELatLong(<?= $lat;?>, <?= $lon;?>), 12 ,'r' ,false);
    and enter the co-ords in the respective places.

  9. #24

    Join Date
    May 2006
    Posts
    1,319
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Alternative to google maps API

    Thanks for that tip webman and thanks for the code plugged, that script will prove very useful. I'll probably add it to the site via an inline frame or external popup(I don't think there is any other way as I cannot easily edit code above the BODY tags of the pages of my site.

  10. #25

    Join Date
    Feb 2007
    Posts
    86
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Alternative to google maps API

    no stress dude.
    Do you mind me asking why you cant edit above the BODY tags?

  11. #26

    Join Date
    May 2006
    Posts
    1,319
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Alternative to google maps API

    I could do it with PHP I guess. There is another rather long thread on this forum where I had to have a unique header code and body tag on several pages of my virtual tour. That was resolved with PHP so I should really just use the same code again (I hate frames )

  12. #27

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Alternative to google maps API

    The way I did unique HEAD includes on pages was to get the page ID or name (as long as it's unique) in the template/core file, then something like @include("inc/$page.php").

  13. #28

    Join Date
    Feb 2007
    Posts
    86
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Alternative to google maps API

    Yeah thats what i would do aswell using $_GET['pageID'] create an if statement to show the various includes.

  14. #29

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Alternative to google maps API

    An If/Switch statement in this instance would slow it down if you wanted to do this for a large number of pages. Either checking the existance of the file to be included or surpressing the errors of the include function would be a quicker solution I think.

  15. #30

    Join Date
    May 2006
    Posts
    1,319
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Alternative to google maps API

    Quick question,

    I have just been playing with this and got around to changing the pin and realised that the pin doesn't appear at all in firefox (it works in IE). Do you have any idea why this might be?

    Thanks

    James

SHARE:
+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Site Maps
    By enjay in forum How do you do....it?
    Replies: 8
    Last Post: 29th October 2007, 04:20 PM
  2. Microsoft live maps
    By Jobos in forum Educational Software
    Replies: 1
    Last Post: 3rd October 2007, 10:11 AM
  3. Google maps the stars
    By FN-GM in forum IT News
    Replies: 3
    Last Post: 23rd August 2007, 09:47 AM
  4. Interesting Google Maps Imagery
    By Geoff in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 11th February 2006, 12:08 AM
  5. Anquet Maps
    By RobC in forum Educational Software
    Replies: 0
    Last Post: 6th December 2005, 02:53 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •