Template:Zh GoogleMap Description Path: Difference between revisions
mNo edit summary |
m (→Path Details) |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Creating Path == | == Creating Path == | ||
The path means | The path means polylines, polygons, circles or special map objects (layers). | ||
We turn to the tab "Paths". | We turn to the tab "Paths". | ||
[[File:GM-Path-List.png]] | |||
[[File:GM-Path-List. | |||
Enter the necessary number of paths with reference to a specific map. | Enter the necessary number of paths with reference to a specific map. | ||
Line 14: | Line 12: | ||
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. | 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. | ||
In second part there will be described how draw polyline by tools and get values for path field. | |||
Line 19: | Line 20: | ||
=== Path properties === | === Path properties === | ||
[[File:GM-Path-Detail- | [[File:GM-Path-Detail-Path-1.png]] | ||
[[File:GM-Path-Detail-Path-2.png]] | |||
{|class="zhpropertytable" | {|class="zhpropertytable" | ||
Line 26: | Line 29: | ||
|- | |- | ||
|class="zhproperty"|Description||class="zhdescription"|Description | |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"|Object Type||class="zhdescription"|Polyline, Polygon (area) or Circle | |||
|- | |||
|class="zhproperty"|Map Title||class="zhdescription"|Title of the map, where path would be displayed | |||
|- | |||
|class="zhproperty"|Category||class="zhdescription"|The category that this path is assigned to | |||
|- | |||
|class="zhproperty"|Current coordinates||class="zhdescription"|Current coordinates | |||
|} | |||
=== Path Details === | |||
[[File:GM-Path-Detail-PathDetails-1.png]] | |||
[[File:GM-Path-Detail-PathDetails-2.png]] | |||
{|class="zhpropertytable" | |||
|- | |||
|class="zhproperty"|Addition HTML text||class="zhdescription"|HTML text, that will be included in infowin<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"|Published||class="zhdescription"|Published | |class="zhproperty"|Published||class="zhdescription"|Published | ||
|- | |- | ||
|class="zhproperty"| | |class="zhproperty"|Geodesic line||class="zhdescription"|Create Geodesic line (circle-shaped) | ||
|- | |- | ||
|class="zhproperty"| | |class="zhproperty"|Weight||class="zhdescription"|Line Weight | ||
|- | |- | ||
|class="zhproperty"|Color||class="zhdescription"|Line Color <br />for example: #FF0000 | |class="zhproperty"|Color||class="zhdescription"|Line Color <br />for example: #FF0000 | ||
|- | |- | ||
|class="zhproperty"| | |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"| | |class="zhproperty"|Radius||class="zhdescription"|Circle radius in meters | ||
|- | |- | ||
|class="zhproperty"| | |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"|Category||class="zhdescription"|The category that this path is assigned to | ||
|} | |||
=== Advanced options === | |||
[[File:GM-Path-Detail-AdvancedOptions.png]] | |||
{|class="zhpropertytable" | |||
|- | |||
|class="zhproperty"|InfoWin Content||class="zhdescription"|InfoWin Content | |||
* No | |||
* Title | |||
* Description | |||
* Title and Description | |||
|- | |||
|class="zhproperty"|KML 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"|Action by Click||class="zhdescription"|Action when you click on path | |||
* No | |||
* Open InfoWin | |||
|} | |||
=== KML Layer === | |||
[[File:GM-Path-Detail-KMLLayer.png]] | |||
{|class="zhpropertytable" | |||
|- | |- | ||
|class="zhproperty"| | |class="zhproperty"|KML Layer||class="zhdescription"|URL of the KML 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 InfoWin||class="zhdescription"|Suppress open InfoWin when you click on layer | |||
|} | |||
=== Elevation === | |||
[[File:GM-Path-Detail-Elevation-1.png]] | |||
[[File:GM-Path-Detail-Elevation-2.png]] | |||
{|class="zhpropertytable" | |||
|- | |||
|class="zhproperty"|Elevation||class="zhdescription"|Enable feature to draw elevation diagram | |||
|- | |||
|class="zhproperty"|Diagram Width||class="zhdescription"|Diagram Width | |||
|- | |||
|class="zhproperty"|Diagram Height||class="zhdescription"|Diagram Height | |||
|- | |||
|class="zhproperty"|Samples count||class="zhdescription"|Samples count in diagram | |||
|- | |||
|class="zhproperty"|Samples count (KML)||class="zhdescription"|Samples count from KML file to analyse | |||
|- | |||
|class="zhproperty"|Icon Type||class="zhdescription"|Icon Type to display on map current position on diagram | |||
|- | |||
|class="zhproperty"|Baseline||class="zhdescription"|Baseline value | |||
|- | |||
|class="zhproperty"|Baseline Color||class="zhdescription"|Baseline Color | |||
|- | |||
|class="zhproperty"|Gridline Color||class="zhdescription"|Gridline Color | |||
|- | |||
|class="zhproperty"|Gridline Count||class="zhdescription"|Gridline Count | |||
|- | |||
|class="zhproperty"|Minor Gridline Color||class="zhdescription"|Minor Gridline Color | |||
|- | |||
|class="zhproperty"|Minor Gridline Count||class="zhdescription"|Minor Gridline Count | |||
|- | |||
|class="zhproperty"|Min Value||class="zhdescription"|Min Value | |||
|- | |||
|class="zhproperty"|Max Value||class="zhdescription"|Max Value | |||
|- | |||
|class="zhproperty"|Background Border Color||class="zhdescription"|Background Border Color | |||
|- | |||
|class="zhproperty"|Background Border Width||class="zhdescription"|Background Border Width | |||
|- | |||
|class="zhproperty"|Background Fill Color||class="zhdescription"|Background Fill Color | |||
|} | |} | ||
=== Display === | |||
[[File:GM-Path-Detail-Display.png]] | |||
=== Create Path by drawing tool === | |||
The new feature added - drawing tool | |||
On map there are new controls | |||
[[File:GM-Path-Detail-CreatePolyline-Controls.JPG]] | |||
You just simple draw polyline by clicking on points. Double click to stop drawing. | |||
[[File:GM-Path-Detail-CreatePolyline-Polyline.JPG]] | |||
When you finished draw, the '''Path''' field contain all coordinate values to build path. | |||
If you wish to get some point coordinates, click on map in not drawing mode, and the field '''Current coordinates''' will contain it. | |||
[[File:GM-Path-Detail-CreatePolyline-Polyline-Changed.JPG]] | |||
<p class="zh-text-comment-border"> | |||
The Google's Drawing Library doesn't supports creating polyline with predefined points, therefore component not display drawing tools when you save, but in this case path is displaying as a editable polyline for more useful management. You can change it, or correct coordinates. To remove this polyline - clear path field with coordinates and save, in this case there is drawing tools appear again | |||
</p> | |||
[[File:GM-Path-Detail-CreatePolyline-Polyline-Changed2.JPG]] |
Latest revision as of 13:45, 19 December 2019
Creating Path
The path means polylines, polygons, circles or special map objects (layers).
We turn to the tab "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.
In second part there will be described how draw polyline by tools and get values for path field.
Path properties
Title | Path Title |
Description | Description |
Path | Path for example: 59.92335689062723,30.385787878185525;59.92374467628344,30.387547407299284 |
Object Type | Polyline, Polygon (area) or Circle |
Map Title | Title of the map, where path would be displayed |
Category | The category that this path is assigned to |
Current coordinates | Current coordinates |
Path Details
Addition HTML text | HTML text, that will be included in infowin 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. |
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 |
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 |
Advanced options
InfoWin Content | InfoWin Content
|
KML Layer Show Type | Map bounds for fitting the KML layer
|
Action by Click | Action when you click on path
|
KML Layer
KML Layer | URL of the KML Layer, that would be displayed on the map |
Layer Show Type | Map bounds for fitting the KML layer
|
Suppress InfoWin | Suppress open InfoWin when you click on layer |
Elevation
Elevation | Enable feature to draw elevation diagram |
Diagram Width | Diagram Width |
Diagram Height | Diagram Height |
Samples count | Samples count in diagram |
Samples count (KML) | Samples count from KML file to analyse |
Icon Type | Icon Type to display on map current position on diagram |
Baseline | Baseline value |
Baseline Color | Baseline Color |
Gridline Color | Gridline Color |
Gridline Count | Gridline Count |
Minor Gridline Color | Minor Gridline Color |
Minor Gridline Count | Minor Gridline Count |
Min Value | Min Value |
Max Value | Max Value |
Background Border Color | Background Border Color |
Background Border Width | Background Border Width |
Background Fill Color | Background Fill Color |
Display
Create Path by drawing tool
The new feature added - drawing tool
On map there are new controls
You just simple draw polyline by clicking on points. Double click to stop drawing.
When you finished draw, the Path field contain all coordinate values to build path.
If you wish to get some point coordinates, click on map in not drawing mode, and the field Current coordinates will contain it.
The Google's Drawing Library doesn't supports creating polyline with predefined points, therefore component not display drawing tools when you save, but in this case path is displaying as a editable polyline for more useful management. You can change it, or correct coordinates. To remove this polyline - clear path field with coordinates and save, in this case there is drawing tools appear again