+ Reply to Thread
Results 1 to 7 of 7

Thread: Change default zoom and location from search-by-distance.html

  1. #1

    Change default zoom and location from search-by-distance.html

    Hello,

    Is it possible to configure the map area, zoom and radius coming when someone open the "search-by-distance.html" page without starting a ZIP search?

    Thx

  2. #2
    Hello Matthieu,

    you can change it here: ftp://plugins>>search_by_distance>>static>>lib.js

    find code:

    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Hello I have changed that and checked it but the plugin still defaults to "Del Papa" Restaurant in Delaware.... I am in Europe.....
    I will submit a ticket if I cannot find a solution.

  4. #4
    Found the error: The ISO country code "DE" that usually represents Germany is used for Delaware, US.

  5. #5
    Quote Originally Posted by Viktor View Post
    Hello Matthieu,

    you can change it here: ftp://plugins>>search_by_distance>>static>>lib.js

    find code:

    Code:
    Only registered members can view the code.
    This is exist in current version? i Can;t find this to change the center or default location...
    How to put restriction in 1 country?

  6. #6
    Now distance calculates automatically form the cycle. Set default radius 100miles in Admin Panel >>Basic Settings >>Search by distance and refresh search by distance plugin then set 5 miles and max changed zoom automatically.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Great! thanks Viktor

+ Reply to Thread