mapbb-wordpress

mapbb-wordpress — плагин к CMS WordPress, позволяющий использовать mapbb-коды для вставки карт, использующих библиотеки Leaflet и MapBBCode.

Примеры

Взяты с https://github.com/MapBBCode/mapbbcode/blob/master/BBCODE.md


Displays a map in a default location with no features.

[map][/map]
[map][/map]

Displays a map of Saint-Petersburg with no features.

[map=10,59.95,30.27][/map]
[map=10,59.95,30.27][/map]

A map zoomed onto a Dvortsovaya Square with a marker in the center. The marker has a title (usually appears in a popup panel), «Dvortsovaya».

[map]59.939,30.3159(Dvortsovaya)[/map]
[map]59.939,30.3159(Dvortsovaya)[/map]

A marker is still on Dvortsovaya Square, Nevsky Prospect is a black line, and a part of Sadovaya Street is a line of a default colour (usually blue).

[map]59.939,30.3159; 59.93709,30.31265 59.93115,30.3602 (black|);
59.94577,30.33244 59.93904,30.3369 59.93408,30.33497 59.92257,30.30776[/map]
[map]59.939,30.3159; 59.93709,30.31265 59.93115,30.3602 (black|); 59.94577,30.33244 59.93904,30.3369 59.93408,30.33497 59.92257,30.30776[/map]

Red Square in Moscow is covered with a red polygon, which shows a popup panel when clicked with “Square” word in it.

[map]55.7547,37.6181 55.7553,37.6191 55.7531,37.6232 55.7528,37.622 55.7547,37.6181(red|Square)[/map]
[map]55.7547,37.6181 55.7553,37.6191 55.7531,37.6232 55.7528,37.622 55.7547,37.6181(red|Square)[/map]

1 thought on “mapbb-wordpress