• Resolved Djehuti

    (@djehuti)


    I’m looking for the setting which determines whether or not markers will be fitted into the displayed map.

    I’ve found the setting in the default values, but would like some maps to have it and others not.

    • This topic was modified 7 years, 2 months ago by Djehuti.
    • This topic was modified 7 years, 2 months ago by Djehuti.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Djehuti

    (@djehuti)

    Found it in the files:

    fit_markers=true

    Plugin Author bozdoz

    (@bozdoz)

    Yep. I believe I’ve pushed the changes to the shortcodes which allow “assumed boolean” fields too. So you could just type [leaflet-map fit_markers] and it will assume that field to be true; “true” and “1” work just as well.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode for fitting markers’ is closed to new replies.