ISSUE: View of Home Page Google Map

Discussion in 'GeoCraft WordPress Theme' started by gloryous, Oct 22, 2016.

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

    gloryous Member

    Joined:
    May 25, 2012
    Messages:
    223
    Likes Received:
    8
    Greetings!

    I'm attempting to create a local restaurant directory and am having trouble with the Home Page Google Map settings.

    Since it's a city/local listing, I want the map to be zoomed in like this:

    DESIRED-Map-Zoom.png

    But this is what I'm getting:

    ACTUAL-Map-Too-Large.png

    I've entered, what I think is, the correct API key ... but am unable to get the Home Page map to zoom in farther.

    Hoping you can advise. Thank you.

    Glory

    P.S. If there is already a forum post resolving this issue, please let me know. [I couldn't easily locate it.] Thanks!
     
  2. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    There probably is another entry for this but it was some time ago!

    However, in your Admin IDE you need to go to Appearance > Editor > map_search.php and find the line that contains 'zoom: 3'

    Change the value to suit your site (I use a value of 11 which seems to be right for me) and Save/Update File. You may have to temporarily disable any plugin protection (Firewall or similar) while you do this, I usually open the plugins list in another tab for convenience and speed. Remember to activate it again as soon as you've done the file update!

    You may have to clear any cache that you have but the results should be viewable straight away!

    Would have been nice for this to have been a user definable setting as when an update comes along you have to do the same thing again each time!

    Hope this helps

    Roger B
     
    gloryous likes this.
  3. gloryous

    gloryous Member

    Joined:
    May 25, 2012
    Messages:
    223
    Likes Received:
    8
    Thank you for taking the time to help, Roger! Perfect solution for this issue!

    Glory
     
    rogerb likes this.
  4. resc2471

    resc2471 New Member

    Joined:
    Nov 25, 2016
    Messages:
    3
    Likes Received:
    0
    Thank you very much. I'm new to Geocraft and I was looking for this solution.
     
  5. tony21237

    tony21237 New Member

    Joined:
    Dec 6, 2015
    Messages:
    9
    Likes Received:
    0
    Great fix for initial settings. Remember you still have zoom in/out feature to the right of the map.
     
Thread Status:
Not open for further replies.

Share This Page