Add marker with shortcode

the markers are declared with tag [lfh-marker]

Example

[lfh-marker lat=48.22467264956519 lng=4.921875000000001 color=darkblue icon=bullseye title="Training form" visibility=zoom ][/lfh-marker]

Attributes

lat

  • values : float between -90 and 90, theorical
  • required: yes

lng

  • values : float between -180 and 180
  • required: yes

title

  • values : text
  • required: no

visibility

  • values :
    1. zoom, the marker is visible only when zoom is greater than 11
    2. always, the marker is always visible
  • default : zoom
  • required : no

popup

  • value : html string. If popup is empty or not defined, no popup is associated to marker
  • required : no

color

The color of the marker.

  • values :

    red,

    blue,

    green,

    purple,
    orange,

    darkred,

    lightred,

    darkblue,
    darkgreen,

    cadetblue,

    darkpurple,

    lightblue,
    lightgreen,

    gray,

    black,

    lightgray,

  • default : red
  • required : no

icon

It’s the icon inside the marker. Icon come from font-awesome.

  • values :

    circle,

    square,

    dot-circle-o,

    circle-o,
    record,

    asterisk,

    star,

    first-order,
    bolt,

    sun-o,

    sun-inv,

    cube,
    bullseye,

    eye,

    heart,

    flag,
    leaf,

    paw,

    key,

    music,
    cloud,

    close,

    tree,

    smile-o,
    snowflake-o,

    diamond,

    binoculars,

    shopping-basket,
    plane,

    cab,

    bicycle,

    train,
    bed,

    shower,

    cutlery,

    coffee,
    beer,

    glass,

    spoon,

    bell,
    home,

    wheelchair,

    school,

    child,
    female,

    male,

    bank,

    industry,

  • default : circle
  • required : no

Add description

Add marker description
If you want to associate a window with a description to the marker, you must write this description between the tag [lfh-marker ] and [/lfh-marker], using all the possibilities of the text editor.

Where are displayed attributes type text

You can see on the following picture where the attributes title, popup and description will be displayed on the map view.

Where are displayed paramaters type text for marker

This entry was posted in Tutorials. Bookmark the permalink.