Template:Zh OpenStreetMap Description Path: Difference between revisions

From Documentation
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Creating Path ==
== Creating Path ==
The path means polylines, polygons, circles or special map objects (layers).
We turn to the menu "Paths".


[[File:OSM-Path-List.png]]
[[File:OSM-Path-List.png]]


Enter the necessary number of paths with reference to a specific map.
Field Path - a set of coordinates of points, the coordinates (Latitude, Longitude) are separated by comma (,), the points themselves - separated by a semicolon (;)
Coordinates it is convenient to choose by dragging the marker (values are substituted into the reference field in the form ''Current coordinates'', from there you can copy and add a separator and value in the field Path), or clicking the mouse on the desired location.
=== Path properties ===


[[File:OSM-Path-Detail-Path.png]]
[[File:OSM-Path-Detail-Path.png]]


{|class="zhpropertytable"
|-
|class="zhproperty"|Title||class="zhdescription"|Path Title
|-
|class="zhproperty"|Description||class="zhdescription"|Description
|-
|class="zhproperty"|Path||class="zhdescription"|Path<br />
for example: 59.92335689062723,30.385787878185525;59.92374467628344,30.387547407299284
|-
|class="zhproperty"|Visualization Data Source||class="zhdescription"|Data source for visualization
See also [[Zh OpenStreetMap Visualization]]
|-
|class="zhproperty"|Object Type||class="zhdescription"|Map object type<br />
* '''Line'''
* '''Polygon'''
* '''Circle'''
|-
|class="zhproperty"|Map Title||class="zhdescription"|Title of the map, where path would be displayed
|-
|class="zhproperty"|Current coordinates||class="zhdescription"|Current coordinates
|}
=== Path Details ===


[[File:OSM-Path-Detail-Details-1.png]]
[[File:OSM-Path-Detail-Details-1.png]]
Line 17: Line 52:


[[File:OSM-Path-Detail-Details-4.png]]
[[File:OSM-Path-Detail-Details-4.png]]
{|class="zhpropertytable"
|-
|class="zhproperty"|Published||class="zhdescription"|Published
|-
|class="zhproperty"|Geodesic line||class="zhdescription"|Create Geodesic line (circle-shaped)
|-
|class="zhproperty"|Weight||class="zhdescription"|Line Weight
|-
|class="zhproperty"|Color||class="zhdescription"|Line Color <br />for example: #FF0000
|-
|class="zhproperty"|Opacity||class="zhdescription"|Opacity, number value between 0.0 and 1.0
|-
|class="zhproperty"|Fill Color||class="zhdescription"|Fill Color (for rectangles, circles)<br />for example: #FF0000
|-
|class="zhproperty"|Fill Opacity||class="zhdescription"|Fill Opacity, number value between 0.0 and 1.0
|-
|class="zhproperty"|Hover Color||class="zhdescription"|Hover Color<br />for example: #FF0000
|-
|class="zhproperty"|Hover Fill Color||class="zhdescription"|Hover Fill Color (for rectangles, circles)<br />for example: #FF0000
|-
|class="zhproperty"|Radius||class="zhdescription"|Circle radius in meters
|-
|class="zhproperty"|Group||class="zhdescription"|Group, it can be used for managing by Group List
|-
|class="zhproperty"|Category||class="zhdescription"|The category that this path is assigned to
|-
|class="zhproperty"|Addition HTML text||class="zhdescription"|HTML text, that will be included in path popup content<br />
<p class="zh-text-alert-fill">Be careful, if you enter email address, the other Joomla! plugin it changed, and there will be an error and map will not be shown.
</p>
|-
|class="zhproperty"|Hover HTML text||class="zhdescription"|HTML text, that will be included in path hover popup content<br />
<p class="zh-text-alert-fill">Be careful, if you enter email address, the other Joomla! plugin it changed, and there will be an error and map will not be shown.
</p>
|}
=== Label ===
You can show label in path center
[[File:OSM-Path-Detail-Label-1.png]]


[[File:OSM-Path-Detail-Label-2.png]]
{|class="zhpropertytable"
|-
|class="zhproperty"|Show Label||class="zhdescription"|Show Label<br />
* '''No'''
* '''Text'''
* '''Tooltip'''
|-
|class="zhproperty"|Label Class||class="zhdescription"|Label CSS Class
|-
|class="zhproperty"|Label Style||class="zhdescription"|Label CSS style without style word
|-
|class="zhproperty"|Label X-offset||class="zhdescription"|Label horizontal offset
|-
|class="zhproperty"|Label Y-offset||class="zhdescription"|Label vertical offset
|-
|class="zhproperty"|Label content||class="zhdescription"|HTML label text<br />
<p class="zh-text-alert-fill">Be careful, if you enter email address, the other Joomla! plugin it changed, and there will be an error and map will not be shown.
</p>
|}
=== Advanced options ===


[[File:OSM-Path-Detail-AdvancedOptions.png]]
[[File:OSM-Path-Detail-AdvancedOptions.png]]


{|class="zhpropertytable"
|-
|class="zhproperty"|Popup Content||class="zhdescription"|Popup Content
* '''No'''
* '''Title'''
* '''Description'''
* '''Title and Description'''
|-
|class="zhproperty"|Action by Click||class="zhdescription"|Action when you click on path
* '''No'''
* '''Open Popup'''
* '''Open Link in new page'''
* '''Open Link in the same page'''
|-
|class="zhproperty"|URL Site||class="zhdescription"|Site URL to display in path popup content
|-
|class="zhproperty"|Site Name||class="zhdescription"|Site Name to display instead of URL
|}
=== File Layer ===


[[File:OSM-Path-Detail-FileLayer-1.png]]
[[File:OSM-Path-Detail-FileLayer-1.png]]
Line 27: Line 147:
[[File:OSM-Path-Detail-FileLayer-2.png]]
[[File:OSM-Path-Detail-FileLayer-2.png]]


{|class="zhpropertytable"
|-
|class="zhproperty"|Layer Type||class="zhdescription"|Layer Type<br />
* '''KML (Internal Parser)'''
* '''GPX (Internal Parser)'''
* '''KML''' - you can control object parameters by path properties
* '''GPX''' - you can control object parameters by path properties
See also [[Zh_OpenStreetMap_Internal_File_Parser|Internal parser]]
|-
|class="zhproperty"|URL||class="zhdescription"|URL or file path of the File Layer, that would be displayed on the map
|-
|class="zhproperty"|Layer Show Type||class="zhdescription"|Map bounds for fitting the KML layer<br />
* '''Zoom''' - Zoom to fit bounds of layer
* '''Unchange''' - Do not change viewport
|-
|class="zhproperty"|Suppress Popup||class="zhdescription"|Suppress open Popup when you click on layer
|-
|class="zhproperty"|Popup content for Placemark||class="zhdescription"|Popup content
* '''Suppress'''
* '''Name'''
* '''Description'''
* '''Description, if it is not defined then Name'''
* '''Name and Description'''
|-
|class="zhproperty"|Popup content for Polyline||class="zhdescription"|Popup content
* '''Suppress'''
* '''Name'''
* '''Description'''
* '''Description, if it is not defined then Name'''
* '''Name and Description'''
|-
|class="zhproperty"|Popup content for Polygon||class="zhdescription"|Popup content
* '''Suppress'''
* '''Name'''
* '''Description'''
* '''Description, if it is not defined then Name'''
* '''Name and Description'''
|-
|class="zhproperty"|Tooltip content for Polyline||class="zhdescription"|Tooltip content
* '''Suppress'''
* '''Name'''
* '''Description'''
* '''Description, if it is not defined then Name'''
|-
|class="zhproperty"|Tooltip content for Polygon||class="zhdescription"|Tooltip content
* '''Suppress'''
* '''Name'''
* '''Description'''
* '''Description, if it is not defined then Name'''
|-
|class="zhproperty"|Override Placemarks||class="zhdescription"|Override placemark properties for placemarks, created from file. You can assign group to path and set override icon for placemark in group properties
|}
=== Ground Overlay ===


[[File:OSM-Path-Detail-GroundOverlay.png]]
[[File:OSM-Path-Detail-GroundOverlay.png]]


{|class="zhpropertytable"
|-
|class="zhproperty"|Image URL||class="zhdescription"|URL for ground overlay image
|-
|class="zhproperty"|Image bounds on map||class="zhdescription"|Latitude1,Longitude1;Latitude2,Longitude2
|-
|class="zhproperty"|Opacity||class="zhdescription"|Value between 0 and 1
|-
|class="zhproperty"|Opacity management||class="zhdescription"|Change opacity by Opacity Control
|-
|class="zhproperty"|Clickable||class="zhdescription"|Enable/disable click on layer
|}
=== Grid Layer ===


[[File:OSM-Path-Detail-GridLayer.png]]
[[File:OSM-Path-Detail-GridLayer.png]]


{|class="zhpropertytable"
|-
|class="zhproperty"|Create Tile Function||class="zhdescription"|Create Tile function has one parameter (coords), which contains: coord.x, coords.y and coords.z
|-
|class="zhproperty"|Opacity||class="zhdescription"|Value between 0 and 1
|}
=== Display ===


[[File:OSM-Path-Detail-Display.png]]
[[File:OSM-Path-Detail-Display.png]]

Latest revision as of 13:47, 23 December 2019

Creating Path

The path means polylines, polygons, circles or special map objects (layers).

We turn to the menu "Paths".

Enter the necessary number of paths with reference to a specific map.

Field Path - a set of coordinates of points, the coordinates (Latitude, Longitude) are separated by comma (,), the points themselves - separated by a semicolon (;)

Coordinates it is convenient to choose by dragging the marker (values are substituted into the reference field in the form Current coordinates, from there you can copy and add a separator and value in the field Path), or clicking the mouse on the desired location.

Path properties


Title Path Title
Description Description
Path Path

for example: 59.92335689062723,30.385787878185525;59.92374467628344,30.387547407299284

Visualization Data Source Data source for visualization

See also Zh OpenStreetMap Visualization

Object Type Map object type
  • Line
  • Polygon
  • Circle
Map Title Title of the map, where path would be displayed
Current coordinates Current coordinates

Path Details




Published Published
Geodesic line Create Geodesic line (circle-shaped)
Weight Line Weight
Color Line Color
for example: #FF0000
Opacity Opacity, number value between 0.0 and 1.0
Fill Color Fill Color (for rectangles, circles)
for example: #FF0000
Fill Opacity Fill Opacity, number value between 0.0 and 1.0
Hover Color Hover Color
for example: #FF0000
Hover Fill Color Hover Fill Color (for rectangles, circles)
for example: #FF0000
Radius Circle radius in meters
Group Group, it can be used for managing by Group List
Category The category that this path is assigned to
Addition HTML text HTML text, that will be included in path popup content

Be careful, if you enter email address, the other Joomla! plugin it changed, and there will be an error and map will not be shown.

Hover HTML text HTML text, that will be included in path hover popup content

Be careful, if you enter email address, the other Joomla! plugin it changed, and there will be an error and map will not be shown.

Label

You can show label in path center


Show Label Show Label
  • No
  • Text
  • Tooltip
Label Class Label CSS Class
Label Style Label CSS style without style word
Label X-offset Label horizontal offset
Label Y-offset Label vertical offset
Label content HTML label text

Be careful, if you enter email address, the other Joomla! plugin it changed, and there will be an error and map will not be shown.

Advanced options

Popup Content Popup Content
  • No
  • Title
  • Description
  • Title and Description
Action by Click Action when you click on path
  • No
  • Open Popup
  • Open Link in new page
  • Open Link in the same page
URL Site Site URL to display in path popup content
Site Name Site Name to display instead of URL

File Layer


Layer Type Layer Type
  • KML (Internal Parser)
  • GPX (Internal Parser)
  • KML - you can control object parameters by path properties
  • GPX - you can control object parameters by path properties

See also Internal parser

URL URL or file path of the File Layer, that would be displayed on the map
Layer Show Type Map bounds for fitting the KML layer
  • Zoom - Zoom to fit bounds of layer
  • Unchange - Do not change viewport
Suppress Popup Suppress open Popup when you click on layer
Popup content for Placemark Popup content
  • Suppress
  • Name
  • Description
  • Description, if it is not defined then Name
  • Name and Description
Popup content for Polyline Popup content
  • Suppress
  • Name
  • Description
  • Description, if it is not defined then Name
  • Name and Description
Popup content for Polygon Popup content
  • Suppress
  • Name
  • Description
  • Description, if it is not defined then Name
  • Name and Description
Tooltip content for Polyline Tooltip content
  • Suppress
  • Name
  • Description
  • Description, if it is not defined then Name
Tooltip content for Polygon Tooltip content
  • Suppress
  • Name
  • Description
  • Description, if it is not defined then Name
Override Placemarks Override placemark properties for placemarks, created from file. You can assign group to path and set override icon for placemark in group properties

Ground Overlay

Image URL URL for ground overlay image
Image bounds on map Latitude1,Longitude1;Latitude2,Longitude2
Opacity Value between 0 and 1
Opacity management Change opacity by Opacity Control
Clickable Enable/disable click on layer

Grid Layer

Create Tile Function Create Tile function has one parameter (coords), which contains: coord.x, coords.y and coords.z
Opacity Value between 0 and 1

Display