Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 21 May 2024, 15:01 by Redaktion
PreviousNext
  • Manual
  • Extension
    • Maps
      Last edited one year ago
      by Redaktion

      Maps

      Revision as of 15:01, 21 May 2024 by Redaktion (talk | contribs)
      (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

      Contents

      • 1 Content droplet
        • 1.1 Examples
      • 2 Embed a map in source editing mode (parser function)
      • 3 Embed a map in source editing mode (parser function)
        • 3.1 Example
      • 4 Documentation

      Content droplet

      The Content droplet Map is based on the Maps extension and inserts a simple map on a page. Alternatively, you can work in source edit mode to insert a more complex map view.

      There are two input fields available in the Content droplet dialog box:

      • Center of map: Sets the specified location to the map center.
      • Focus: Marks a location with a blue marker. This marker can display additional text when clicked.
        • Multiple locations are separated with semicolons.
        • Each location can have a label appended with ~.

      It is enough to specify one of the two values to display the map. The Focus location is automatically displayed in the map center. If a center point is also specified, the focus location may no longer be visible in the map area and will only appear after manual zooming.

      The map shown here is created as follows:

      Focus: London;London LHR~Heathrow Airport
      

      The locations “London” and “London LHR” are marked. When you click on the airport marker, the information "Heathrow Airport" opens (with ~ appended to the location marker).

      Loading map...
      +−
      Leaflet | © OpenStreetMap contributors

      Examples

      Map examples for the Content droplet "Map"
      Center of map Focus Map display
      London - Center of map is "London". Output is a street view featuring the river Thames with the City of Westminster in the north.
      - London Street view of London with the river Thames and a blue marker in the map center.
      - London~Inhabitants:8.866.180;Cambridge~Inhabitants:125.063;Oxford Map view with blue markers for the locations London, Cambridge and Oxford.|}

      Embed a map in source editing mode (parser function)

      If you need a more flexible integration of a map, you can insert the parser function #display_map directly in source editing mode instead of using the Content droplet.|-

      - - Regensburg, Bruderwöhrdstr.27~Bruderwöhrdstr.27<br>93055 Regensburg Street map of Regensburg with marker for Bruderwöhrdstr. 27, 93055 Regensburg

      Embed a map in source editing mode (parser function)

      If you need a more flexible integration of a map, you can insert the parser function #display_map directly in source editing mode instead of using the Content droplet. The documentation can be found at https://maps.extension.wiki/wiki/Displaying_Leaflet_maps.

      Example

      In the following map, an area of the city of Amsterdam is marked with multiple concentric circles:

      {{#display_map:circles=
        Amsterdam:500;
        Amsterdam:100~I am a title~And I am a description~green~0.7~10~blue~0.5
      | zoom=14
      }}
      

      Output:

      Loading map...
      +−
      Leaflet | © OpenStreetMap contributors

      Documentation

      The full documentation is available at: https://maps.extension.wiki/wiki/Maps_for_MediaWiki

      Technical Reference: Maps



      PDF exclude - start

      To submit feedback about this documentation, visit our community forum.

      PDF exclude - end
      Retrieved from "https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/Maps&oldid=8721"
      No categories assignedEdit
      Page actions and tools navigaiton contains tabs, toolbox and actions
      Actions
      • Refresh
      • Copy URL
      • E-Mail
      • QR code
      Details
      • View history
      • Page information
      • Browse properties
      • ... all actions
      • Privacy policy
      • Terms of service
      • Disclaimer
      • Imprint
      • Accessibility
      • About
      • Analysis service
      • Edit preview settings
      • Powered by MediaWiki
      • Powered by BlueSpice
      • Powered by Semantic MediaWiki
      • Creative Commons License