Template:Zh OpenStreetMap Internal: Difference between revisions
Jump to navigation
Jump to search
Line 54: | Line 54: | ||
*''wpt'' - waypoint definition | *''wpt'' - waypoint definition | ||
== Path properties == | === Path properties === | ||
The next Path properties can apply to layer | The next Path properties can apply to layer | ||
* ''Layer Show Type'' - if set to '''Zoom''' you get fit map bounds to display layer on max zoom | * ''Layer Show Type'' - if set to '''Zoom''' you get fit map bounds to display layer on max zoom |
Revision as of 12:33, 3 October 2019
Description Predefined Types
In Paths properties Layer type is
- KML (Internal Parser)
- GPX (Internal Parser)
By user requests I decided to create my own file parser.
For example, your file can contain not only one line with different colors (or other properties), and you want to use internal settings from file.
Moreover, when I have all data parsed, I can control and add different features. For exmple, you can use placemark clusterization for placemarks (Points or Waypoints) from file.
Now processed next tags
KML file
- Style - style definition
- IconStyle
- LineStyle
- PolyStyle
- StyleMap - styles (normal, highlight) - hovering case
- Placemark - objects
- Point - placemarks
- MultiGeometry
- LineString - polylines
- Polygon - polygons
- Polygon - polygons
- MultiTrack
- gx:Track - polylines
- gx:Track - polylines
Folder
Document
GPX file
- trk - track definition
- extensions
- gpxx:TrackExtension
- gpxx:DisplayColor - color
- gpxx:TrackExtension
- trkseg - track segments
- trkpt - track point
- extensions
- wpt - waypoint definition
Path properties
The next Path properties can apply to layer
- Layer Show Type - if set to Zoom you get fit map bounds to display layer on max zoom