Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Google Maps

  • 17-06-2008 04:48PM
    #1
    Registered Users, Registered Users 2 Posts: 356 ✭✭


    Just got an API code for Google Maps, just wondering how exactly to get a map on it, i added the html code they supply you with and a map is coming up from Germany but where i'm looking for is Galway?:confused:


Comments

  • Registered Users, Registered Users 2 Posts: 1,512 ✭✭✭stevire


    Done a bit of work on Google Maps before...

    What have you done so far?

    Use the following piece of code in function load():

    function load() {

    if (GBrowserIsCompatible()) {

    map = new GMap2(document.getElementById("map"));
    map.setCenter(new GLatLng(53.0368603126837,-7.29635956120916), 5);

    }
    }

    This will centre on Ireland with a zoom value of 5...


  • Registered Users, Registered Users 2 Posts: 356 ✭✭Shanley


    What I want to do is something like this:
    http://www.hotspots.ie/clubhome.php?clubid=12

    The way the map on that pinpoints the location of the venue.

    Also, I am using Joomla 1.5 so I have to use a plugin for it to show up in html, this is the code;
    {mosmap width='500'|height='400'|lat='52.052312'|lon='4.447141'|zoom='3'| zoomType='Large'|zoomNew='0'|mapType='Satellite'| showMaptype='1'|overview='0'|text='sv DWO'|lang=''}


  • Registered Users, Registered Users 2 Posts: 4,393 ✭✭✭EKRIUQ


    Here's a handy website that will allow you to have makers and descriptions on the makers and you can pick any part of Ireland

    http://mapmaker.donkeymagic.co.uk/

    I've used it for a few sites.

    If your putting it in Joomla, just create a new module in html and place where you want (but in the global configuration make sure the editor is turned off) and place the code inside.(no need for a plugin)

    Should do the Job


Advertisement