Skip to content

Capability: Support hyperlinks from markers or vector features #142

Open

Description

@Malvoz

Activity

  1. added
    discussion: capability
    section: map viewer
    status: editor's draft
    on Sep 9, 2019
  2. Malvoz commented on May 24, 2021

    @Malvoz
    MemberAuthor

    Because markers and vectors can overlap, it is important to consider the problems that may cause about interacting with these links, especially for users with a pointing/touch-enabled device. See: Maps4HTML/MapML-Proposal#41.

  3. pvgenuchten commented on Jun 27, 2022

    @pvgenuchten

    One can now link a map-properties value to a remote location, in this way one can link from a feature to remote source

    <map-properties>
            <table>
              <thead>
                <tr>
                  <th role="columnheader" scope="col">Property name</th>
                  <th role="columnheader" scope="col">Property value</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <th scope="row">Name</th>
                  <td itemprop="amenity"><a href="https://en.wikipedia.org/wiki/Ottawa">Ottawa</a></td>
                </tr>
            </table>
    <map-properties>

    Reverse link could be more challenging?

    https://example.com/index.html#mapml=example&feature=Ottowa
    
  4. prushforth commented on Jun 28, 2022

    @prushforth
    Member

    Reverse link could be more challenging?

    https://example.com/index.html#mapml=example&feature=Ottowa
    

    By 'reverse link', can we clarify, is "https://example.com/index.html" a page that has a/some map(s) on it, and what behaviour are you expecting from the mapml #fragment?

  5. Malvoz commented on Jun 28, 2022

    @Malvoz
    MemberAuthor

    By 'reverse link', can we clarify, is "https://example.com/index.html" a page that has a/some map(s) on it

    That's how I interpret it as well.

    what behaviour are you expecting from the mapml #fragment?

    We did discuss such behavior briefly in Maps4HTML/MapML.js#378, IMO:

    This is essentially Text Fragments, but for maps

    I think the appropriate capability to hold the discussion is #146, because the supported use case #41 mentions:

    • bookmark a view/location so you can come back to it the next time you visit the webpage
  6. pvgenuchten commented on Jun 28, 2022

    @pvgenuchten

    By 'reverse link', can we clarify, is "https://example.com/index.html" a page that has a/some map(s) on it, and what behaviour are you expecting from the mapml #fragment?

    correct, the self link (permalink) would have a reference to a map instance on a page, (probably a layer reference) and an object reference

    expected behaviour for example that the map is centered on the feature, maybe a balloon is opened with details on the feature

    but these are just wild ideas, probably hard to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion: capabilitysection: map viewerstatus: editor's draft

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions