SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Resident Boozehound simontheak's Avatar
    Join Date
    Jun 2003
    Location
    _root.europe.uk.london
    Posts
    965
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using maps in your website

    I've just go a couple of questions regarding how products like Google/MSN maps actually work.

    - Is it as simple as passing the map API a postcode or place name in order for the map to focus on a particular area?

    - Is it possible to set a particular zoom level and then ensure that any users of the website can't change it in order to zoom in any closer?

    Thanks a lot for your help,

  2. #2
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,368
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    I have just started with Google map - it looked the best out of yahoo and virtual earth.

    The way I have it working is you setup a central point and zoom level. This is as the user first sees it.
    The cetral point and markers all use logitude and latitude for the location.
    You can chose if you have any "controls" and what controls you have. If you do not have any controls the user can not zoom or pan.

    I do not think you could use a post code unless you made or found a database of the post codes with their longitude and latitude.

    There are loads of sites about google maps if you search google. It does not cost anything to get a google map key you just need to sign up and you can then have a play around with it.

    My map is here http://www.costablancaconsult.com/towns.php and you can "View source" and see how they are setup.

    There are some "Qwerks" to how you write the page and if you get it wrong due to the javascript you get nothing displayed at all !!!

    Google maps is now on version 2 with more options and I would like to do more with it but know nothing about Javascript which is a hinderance

    Link to google map signup page http://www.google.com/apis/maps/

  3. #3
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,368
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    Looking around I have found this that is supposed to use an address lookup but it may be confined to USA.
    http://www.phpinsider.com/php/code/GoogleMapAPI/

  4. #4
    SitePoint Addict hurricanedan's Avatar
    Join Date
    Feb 2006
    Location
    North Carolina
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just started working with the Google API yesterday. It is very easy to set it up with what you want but to be honest, the following links are more helpful and easier to use.
    HTML Code:
    http://mapmaker.donkeymagic.co.uk/
    
    http://www.mapbuilder.net/
    Both of those allow you to set up your markers and text fields without having to know Javascript.

    Dan

  5. #5
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,368
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    I have both those links but my map is comercial so I am not supposed to use at least one of them, I also want tabbed windows and when I looked they didn't do tabbed windows and I am trying to use php and a database.

    http://mapmaker.donkeymagic.co.uk/ Was the first software I tried a year ago and as you say it makes life a lot easer. You didn't need to regester then.

    Here are some other links that may be useful but the link I gave yesterday will use lookup on an address.
    http://bluweb.com/us/chouser/gmapez/
    http://www.system7designs.com/codebase
    http://www.pixeldevelopment.com/articlegooglemaps.asp

  6. #6
    SitePoint Member
    Join Date
    Nov 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used Platial for putting maps on a blog, and I know aguy who used it to do something with tabs and maps for Make, but I don't know if that's what you're looking for. You definitely don't need to know any programming.


Bookmarks

Posting Permissions

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