Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Automatically updating an image online

Options
  • 05-07-2005 8:33pm
    #1
    Closed Accounts Posts: 334 ✭✭


    Hi all,

    Not sure how to explain this, and don't think it is possible but...
    I am doing a site for a friend who has no clue about computers, so I am doing a Content Management effort where he can update the text himself, that part is fine.
    The site is to do with festivals throughout the country, so as he adds a new festival to the site, he adds in the details into the database and the festival details appear. However part of the site also includes a map where he wants to add the location of the festival on the map. Is there a 'content management' type way to do this. i.e. rather than editing the map offline and uploading it, does anyone know of a solution where I can enable him to do this online??

    Cheers


Comments

  • Registered Users Posts: 252 ✭✭ConsultClifford


    Hi all,

    Not sure how to explain this, and don't think it is possible but...
    I am doing a site for a friend who has no clue about computers, so I am doing a Content Management effort where he can update the text himself, that part is fine.
    The site is to do with festivals throughout the country, so as he adds a new festival to the site, he adds in the details into the database and the festival details appear. However part of the site also includes a map where he wants to add the location of the festival on the map. Is there a 'content management' type way to do this. i.e. rather than editing the map offline and uploading it, does anyone know of a solution where I can enable him to do this online??

    Cheers


    What type of content management system are you using?


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    You could use GD - http://ie2.php.net/gd

    Load the map into the control panel and use javascript to get the pixels of where you want to place the mark on the map, use php then to load the same image and place a mark on the position chosen.
    Thats how i would do it

    EDIT: I'm taking it for granted your using PHP/MySQL?


  • Closed Accounts Posts: 334 ✭✭WhatsGoingOn


    Webmonkey wrote:
    You could use GD - http://ie2.php.net/gd

    Load the map into the control panel and use javascript to get the pixels of where you want to place the mark on the map, use php then to load the same image and place a mark on the position chosen.
    Thats how i would do it

    EDIT: I'm taking it for granted your using PHP/MySQL?

    Apologies, should have mentioned that yes, I am using PHP/MySQL, Thanks.


  • Registered Users Posts: 2,031 ✭✭✭colm_c


    Or another approach (one that I'm doing for a client) is to use Gmaps (http://maps.google.com)

    They have a free API which allows you to generate a map on your site based on the data from Gmaps, and add custom markers and info to the map.

    The markers can contain quite a bit of info can be pulled in via an xml file using geo-coordinates (longitude and latitude)...

    Maybe a little outside the scope of your project but still very cool...


  • Closed Accounts Posts: 334 ✭✭WhatsGoingOn


    colm_c wrote:
    Or another approach (one that I'm doing for a client) is to use Gmaps (http://maps.google.com)

    They have a free API which allows you to generate a map on your site based on the data from Gmaps, and add custom markers and info to the map.

    The markers can contain quite a bit of info can be pulled in via an xml file using geo-coordinates (longitude and latitude)...

    Maybe a little outside the scope of your project but still very cool...

    That looks good alright. Don't think I'll use it for this project but will def keep it in mind for future ones. How do you add in your own custom markers?


  • Advertisement
  • Registered Users Posts: 2,157 ✭✭✭Serbian


    colm_c wrote:
    Or another approach (one that I'm doing for a client) is to use Gmaps (http://maps.google.com)

    They have a free API which allows you to generate a map on your site based on the data from Gmaps, and add custom markers and info to the map.

    The markers can contain quite a bit of info can be pulled in via an xml file using geo-coordinates (longitude and latitude)...

    Maybe a little outside the scope of your project but still very cool...

    What countries does Google Maps contain information for? Is it just the UK and US?

    Edit: Nevermind, just took and look and it contains just about anywhere, pretty cool.


  • Registered Users Posts: 2,031 ✭✭✭colm_c


    To use your own markers you need to sign up for the API

    http://maps.google.com/apis/maps/signup.html

    And there's instructions and all the functions you need to set it up...


  • Closed Accounts Posts: 334 ✭✭WhatsGoingOn


    colm_c wrote:
    To use your own markers you need to sign up for the API

    http://maps.google.com/apis/maps/signup.html

    And there's instructions and all the functions you need to set it up...

    Thanks Colm
    Have you the url of a geocoder that you used to generate your map coordinates?


Advertisement