docs:faq:how_to:generated_waypoint_icon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:faq:how_to:generated_waypoint_icon [2019/12/22 21:19] admindocs:faq:how_to:generated_waypoint_icon [2023/03/20 14:58] (current) lucia.kubickova
Line 5: Line 5:
 GPX Viewer supports generating custom color and text icons for waypoints defined in gpx or kml files. GPX Viewer supports generating custom color and text icons for waypoints defined in gpx or kml files.
  
-In gpx files you can define in <wpt> tag <extensions> tag, then <gpxwpx:WaypointExtension> tag into which you need to add <gpxwpx:icon> tag. This is not included in gpx schema, so we are providing schema for this on this url: https://www.vecturagames.com/xmlschemas/GpxWaypointExtensionv1.xsd. For example:+In gpx files you can define in <wpt> tag <extensions> tag, then <gpxwpx:WaypointExtension> tag into which you need to add <gpxwpx:icon> tag. These tags are not included in the gpx schema, so we are providing schema for this on this url: https://www.vecturagames.com/xmlschemas/GpxWaypointExtensionv1.xsd. Example:
  
   <wpt>   <wpt>
Line 19: Line 19:
 Inside <gpxwpx:icon> and </gpxwpx:icon> tags instead of ... you can write functions: Inside <gpxwpx:icon> and </gpxwpx:icon> tags instead of ... you can write functions:
  
-  **color_marker(color)** - instead of color you need to write color in RGB format, for example#aab51c +  **color_marker(color)** - instead of color you need to write the color in RGB format, for example #aab51c 
-  **text_marker(string)** - instead of string you need to write maximum of three characters and minimum one character, for example100+  **text_marker(string)** - instead of string you need to write maximum of three characters and minimum one character, for example 100
  
-Examples for **color_marker(color)**:+Example for **color_marker(color)**:
  
   <wpt>   <wpt>
Line 36: Line 36:
 Result icon: Result icon:
  
 +[[https://docs.vecturagames.com/gpxviewer/lib/exe/fetch.php?cache=&media=docs:faq:how_to:icon_marker.png|{{ docs:faq:how_to:icon_marker.png }}]]
  
-Examples for **text_marker(string)**:+Example for **text_marker(string)**:
  
   <wpt>   <wpt>
Line 50: Line 51:
  
 Result icon: Result icon:
 +
 +[[https://docs.vecturagames.com/gpxviewer/lib/exe/fetch.php?cache=&media=docs:faq:how_to:text_marker.png|{{ docs:faq:how_to:text_marker.png }}]]
  • docs/faq/how_to/generated_waypoint_icon.1577049561.txt.gz
  • Last modified: 2020/08/05 15:28
  • (external edit)