map zoom

This topic contains 7 replies, has 4 voices, and was last updated by  Kiran 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #277488

    sylvester vader
    Buyer
    Post count: 151

    hi is there a way to change the standard zoom

    when people open my site the map zoom is on automated
    but it will leave like 3cm (1.5inch) free space on the top and the bottom

    any idea how to change that?

    #277813

    Kor
    Moderator
    Post count: 16516

    Hi there,

    You can adjust the map zoom level using these settings in the “GD > GMap > Home Page” Wdget as shown in this screenshot http://prntscr.com/cq07po .

    Thanks!

    #277854

    sylvester vader
    Buyer
    Post count: 151

    yes i know but i was wondering if there is a way to make it automated
    for now its ok as im only putting locations in the netherlands
    but later i want more countries
    and then i need to change main location everytime i add a new country

    that why i need it automated 😛

    #277856

    Kor
    Moderator
    Post count: 16516

    Hi there,

    I’d like you to know that the map will automatically zoom out to display all listings on the map. Check out the example here https://wpgeo.directory/

    Thanks!

    #277923

    sylvester vader
    Buyer
    Post count: 151

    yes but when i put it on auto it will give about 3cm space on the location map
    i want it to zoom more

    however when i put it on zoom 7 it works good ont the main map of the netherlands
    but it will show the same map on all cities
    so it wil show the whole country instead of the city

    what i need is that the automated zoom will zoom a litle bit more

    you can see the difrence in the attachments

    the one with the spacings is the automated one

    #278091

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’m sorry but that is not possible, the zoom calc is made automatically when autozoom is on.

    Thanks

    #278112

    sylvester vader
    Buyer
    Post count: 151

    nothing is not posible
    there is always a way
    i just need to know where the coding is regarding the automated zoom

    #278430

    Kiran
    Moderator
    Post count: 7069

    Hi Sylvester,

    This require custom changes in core JS file from which the map is rendered.

    You can find code in yoursite/wp-content/plugins/geodirectory/geodirectory-functions/map-functions/js/map.min.js which is minified file of yoursite/wp-content/plugins/geodirectory/geodirectory-functions/map-functions/js/map.js .

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket