Support » Plugin: BP Checkins » Default Activity stream map zoom

  • Resolved Intervik


    Hi and a french hug to a superb plugin. We really get to implement this now and have a script question.

    We gonna (try) add a button to view the map in default zoom value and a perpective zoom value, (country view)

    Where is the default zoom value set ?

    (Before we start to search, you might have a hook or can define the cleanest way to go)

    Thank ya

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author imath


    hi and ‘merci’ for your french hug 🙂

    I use jquery gmap3 plugin in bp-checkins, their documentation might be useful or

    The default value zoom set is defined at various places so i think the best is to use a text editor that allows you to search in multiple files such as sublime text and search for ‘zoom: 16’.
    I’ve just tried this and it gives me :
    /includes/bp-checkins-functions.php line 417
    /includes/bp-checkins-shared.php line 210
    /js/bp-checkins-dir.js line 80 and 137
    /js/bp-checkins.js line 64 and 99

    Adding a hook to customize the map is an interesting idea, i’ll keep this in mind for a next upgrade. So far all is in js.

    hope it’ll help you to achieve your goal 😉

    We experiment with the core files and reporting any interesting requests back for the plug.

    Closing topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default Activity stream map zoom’ is closed to new replies.