User Tools

Site Tools


awp:brandportal-block-map

Table of Contents

Map Block

A map block shows its text and a map, either with the items found by a search or with a single location. It is only shown while a map provider is enabled in Services; otherwise the editor shows a note.

Settings

Setting Description
ShowRecords (default) pins items, Location shows one pin at a fixed position.
Aspect ratioShape of the map as width:height, for example 4:3. Default 16:9.

Records

Setting Description
Search queryQuery selecting the items, see Blocks with Records. Every item with a position is pinned.
Position fieldGeographic field of the main object type that places the items. Preselected is the Geographic Field of the Maps View, otherwise the first geographic field.

Location

Setting Description
Position (latitude, longitude)Position of the pin in decimal degrees with a decimal point, separated by a comma or a space, for example 55.6675, 12.5580. A position that cannot be read is refused when saving. While the field is empty, the block is not shown.
Zoom levelHow close the map shows the location, from 1 to 18. Default 15.

On the Page

  • With Records, the map first shows all pinned items. Like the Maps View, it loads the pins of the part it shows when it is moved or zoomed. Pins close to each other are combined into one showing their number, which zooms in when clicked.
  • Clicking the pin of an item opens the item dialog.
  • If no item found has a position, the whole block including its heading and text is hidden.
  • With Location, pointing at the pin shows the heading of the block in the language of the page.
awp/brandportal-block-map.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki