Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

MapBBCode for WordPress

Apraksts

This plugin allows to use shortcode [map]
(syntax)
which transforms to Leaflet based map.

For more information, check out MapBBCode.org.

Usage

Add shortcode into you pages:

  • [map][/map] for default map
  • [map=Zoom,Latitude,Longitude][/map] for map centered at (Latitude, Longitude)
  • [map]Latitude,Longitude(Text)[/map] for map with balloon
  • [map]Lat1,Lon1; Lat2,Lon2[/map] for map with multiple markers
  • [map]Lat1,Lon1 Lat2,Lon2 Lat3,Lon3(color|Text)[/map] for map with polyline or polygon

See examples.

Caveats

Width of all maps are 604 pixels, it is good for Twenty Thirteen theme but
still not tested with other themes and may appear ugly.

Ekrānuzņēmumi

  • Map in a default location with no features.
  • Map with polygon and popup.

Uzstādīšana

  1. Go to the /wp-content/plugins/ directory,
  2. Put plugin content to the mapbb-wordpress directory:
    • Download and unzip archive:
      • from WordPress.org https://downloads.wordpress.org/plugin/mapbb.zip
      • from Guthub https://github.com/shoorick/mapbb-wordpress/archive/master.zip
        or
    • Clone repository from github:
      git clone https://github.com/shoorick/mapbb-wordpress.git
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

BUJ

No FAQ yet.

Atsauksmes

15 februāris, 2018
Works still in WP 4.9.4, has problems with https, as the default layer pulls images with http, not https, and also cannot be reconfigured as such – I tried to patch the code. So I ended up in patching the code to pull a different default layer, which does work. Also a possibility to specify width and height of the map would be great. Otherwise: Good to have this, thanks a lot!
Lasīt 2 atsauksmes

Autori un izstrādātāji

“MapBBCode for WordPress” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “MapBBCode for WordPress” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

0.1

Initial release