Template:Zh OpenStreetMap Internal
Description Internal Parser 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
- Icon
- href
- scale
- Icon
- LineStyle
- color
- width
- PolyStyle
- color
- outline
- fill
- IconStyle
- StyleMap - styles (normal, highlight) - hovering case
- Pair
- key
- styleUrl
- Pair
- Placemark - objects
- Point - placemarks
- coordinates
- MultiGeometry
- LineString - polylines
- coordinates
- Polygon - polygons
- outerBoundaryIs
- LinearRing
- coordinates
- LinearRing
- innerBoundaryIs
- LinearRing
- coordinates
- LinearRing
- outerBoundaryIs
- LineString - polylines
- Polygon - polygons
- outerBoundaryIs
- LinearRing
- coordinates
- LinearRing
- innerBoundaryIs
- LinearRing
- coordinates
- LinearRing
- outerBoundaryIs
- MultiTrack
- gx:Track - polylines
- gx:coor
- gx:Track - polylines
- gx:Track - polylines
- gx:coor
- Point - placemarks
- 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
- Suppress Popup - suppress all popups, if you want to have fine control of popups set it to No and use the next properties
- Popup content for Placemark
- Popup content for Polyline
- Popup content for Polygon
- Tooltip content for Polyline
- Pooltip content for Polygon
The values can be
- Suppress - suppress feature
- Name - use tag 'name for value
- Description - use tag description (for KML) or desc (for GPX)
- Description, if not defined then Name use value of Description, if it is not defined then Name
You can use Tooltips to show hover text for polylines and polygons, and flexible define what content will have popups.