How do you change the Google Map default US location?

Discussion in 'GeoCraft WordPress Theme' started by singlemum, Jul 21, 2013.

Thread Status:
Not open for further replies.
  1. singlemum

    singlemum Member

    Joined:
    Apr 19, 2013
    Messages:
    58
    Likes Received:
    0
    Hi, is there a way to change the Google Map default address from US to Australia?
     
  2. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    The last time this was raised I think the outcome was it couldn't be changed.
     
  3. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    This can be changed. It is a set of long and lat somewhere in the geocraft theme.

    I have changed mine to start in Canada. Give me a min to find where it is....

    Edit: Found it.

    Library/map/address_map.php

    Line 29 - Look for something like this:

    }else{
    ?>
    var map_latitude = '52.016712';
    var map_longitude = '-97.040558';
    <?php


    Add your starting co-ordinates.

    Bling blang, all done.
     
    tobyb and spoonboy90 like this.
  4. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    PS: Nothing is impossible in a theme. Some things just take some searching and or custom coding.
     
  5. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Nice one Kent
     
  6. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    No probs, I will try to answer questions that I can, and if I have time. All the best!
     
Thread Status:
Not open for further replies.

Share This Page