Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named points #75

Open
VladimirKalachikhin opened this issue Oct 28, 2018 · 0 comments
Open

Named points #75

VladimirKalachikhin opened this issue Oct 28, 2018 · 0 comments

Comments

@VladimirKalachikhin
Copy link

"GPX points can be named, for example to denote certain POIs (points of interest). You can setup rules to match point names to create labeled markers"
I have the POIs file like this:

  <wpt lat="60.2068333" lon="25.7541667">
    <time>2011-11-08T20:32:40Z</time>
    <name>Aggskar</name>
    <sym>Beach</sym>
    <extensions>
      <gpxx:WaypointExtension xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
        <gpxx:DisplayMode>SymbolAndName</gpxx:DisplayMode>
      </gpxx:WaypointExtension>
    </extensions>
  </wpt>

  <wpt lat="55.9259326" lon="14.3052798">
    <time>2013-03-08T12:31:11Z</time>
    <name>Ahus</name>
    <cmt>150-200kr EWTDA Inet</cmt>
    <desc>150-200kr EWTDA Inet</desc>
    <sym>Marina</sym>
    <extensions>
      <gpxx:WaypointExtension xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
        <gpxx:DisplayMode>SymbolAndName</gpxx:DisplayMode>
      </gpxx:WaypointExtension>
    </extensions>
  </wpt>

First, the type of point are specified by <sym> </sym> tags.
Second, the custom marker are specified by

    <gpxx:WaypointExtension xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
       <gpxx:DisplayMode>SymbolAndName</gpxx:DisplayMode>
     </gpxx:WaypointExtension>

extension.

My question is:
Is it possible to match <sym> </sym> tags to create labeled markers?
and/or
Is it possible add support Garmin gpxx extensions?

Next question:
Is there a way to add a popup from <desc></desc> tags to labeled marker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant