A handy plugin for inserting Yandex and Google maps using shortcode.
Adds Yandex or Google Map with one point
[MapOnePoint id=”” type=”” lon=”” lat=”” zoom=”” h=”” img=”” thover=”” tclick=””]
- “id” (required) – unique id
- “type” (not required) – map layer (roadmap, satellite, hybrid, terrain)
- “lon” (required) – longitude of the center of the map
- “lat” (required) – latitude of the center of the map
- “mstyle” (not required) – style of maps (default, blackwhite, blackout, сolorinversion)
- “h” (not required) – Map height in pixels
- “img” (not required) – URL image markers
- “thover” (not required) – Text when pointing to a point
- “tclick” (not required) – Text when clicking on a point
Example:
Adds Yandex or Google map with many points
[MapManyPoints id=”” type=”” lat=”” lon=”” zoom=”” h=”” img=”” points=””]
- “id” (required) – unique id
- “type” (not required) – map layer (roadmap, satellite, hybrid, terrain)
- “lon” (required) – longitude of the center of the map
- “lat” (required) – latitude of the center of the map
- “mstyle” (not required) – style of maps (default, blackwhite, blackout, сolorinversion)
- “h” (not required) – Map height in pixels
- “img” (not required) – URL image markers
- “points” – [lat point 1],[lon point 1],[text on hover 1],[text on click 1];[lat point 2],[lon point 2],[text on hover 2],[text on click 2] and so on…
Example:

评论0