Zh OpenStreetMap Module Article Overview Map: Difference between revisions

From Documentation
Jump to navigation Jump to search
(Created page with "== Article Overview Map Module == Now we will create module and set all settings to show map. File:OSM Article Overview Module-Module Settings-1.png File:OSM Article...")
 
Line 1: Line 1:
== Article Overview Map Module ==
== Purpose ==
Module for component is created for inserting map which shows articles on it by article attributes.
Now we will create module and set all settings to show map.
 
== Installation ==
Install the module in Extension Manager.
 
 
<p class="zh-text-alert">
It is module for component, therefore component have to be installed
</p>
 
 
<p class="zh-text-info">
Module supports autoupdate feature
</p>
 
== Using ==
 
Open Module Manager.
 
You'll see list of modules.
 
Create new one.
 
Select ''' Zh OpenStreetMap Module - Article Overview Map'''
 
Create new one and set all settings to show map.


[[File:OSM Article Overview Module-Module Settings-1.png]]
[[File:OSM Article Overview Module-Module Settings-1.png]]
Line 32: Line 56:


[[File:OSM Article Overview Module-Map-Popup-1.png]]
[[File:OSM Article Overview Module-Map-Popup-1.png]]
Define position for module and the others attributes.
== Restrictions ==
<p class="zh-text-alert-fill">
Today, you can display only one '''Zh OpenStreeteMap Module - Article Overview Map''' on the same page.
{{Languages|Zh_OpenStreetMap_Module_Article_Overview_Map}}
[[Category:Zh OpenStreetMap|Module]]

Revision as of 16:09, 31 August 2020

Purpose

Module for component is created for inserting map which shows articles on it by article attributes.

Installation

Install the module in Extension Manager.


It is module for component, therefore component have to be installed


Module supports autoupdate feature

Using

Open Module Manager.

You'll see list of modules.

Create new one.

Select Zh OpenStreetMap Module - Article Overview Map

Create new one and set all settings to show map.

We have to define

Map - it is exist map, all settings for it will be used (include overrides) to display data.

Field Group, Latitude, Longitude - group title, and fields titles for latitude and longitude.

In this example I added restriction rule to get articles only for category 13

If we use field Marker like as Icon File: we need to define defaults.

It is in Default values block.

It means if we don't set icon name for an article (it is below) the default value will be used (for case predefined icons).

Set module position, save it.

Our map will be like

By default we can press placemark to show popup and have link to article in popup toolbar.

Define position for module and the others attributes.

Restrictions

Today, you can display only one Zh OpenStreeteMap Module - Article Overview Map on the same page.

Language: English  • русский