• Hi
    And thanks a lot for your really nice work.

    Where is the right place to change default configuration, like ‘OSM_default_lat’ and ‘OSM_default_lon’ ?
    What’s append to file osm-config.php on plugin update ? Changes will be lots ?

    Thanks again
    Cyrille

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Cyrille37

    (@cyrille37)

    A simple solution could be add some tests in osm-config.php like :

    if( ! defined("OSM_default_lat"))
     define ("OSM_default_lat", 51.251);
    if( ! defined("OSM_default_lon"))
     define ("OSM_default_lon", 7.096);
    if( ! defined("OSM_default_zoom"))
     define ("OSM_default_zoom", 15);

    Like we can override those constants in other WP files like functions.php.

    Cheers,
    Cyrille

    Plugin Author MiKa

    (@photoweblog)

    `Hello Cyrille,

    we took this on our feature list and will provide a version to store it in the setting. You will get it before Christmas ??

    Br, MiKa

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What about osm configuration ?’ is closed to new replies.