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

Use Case: Allow a user to reset the map to their starting point #83

Open
NickFitz opened this issue Jun 14, 2019 · 4 comments
Open

Use Case: Allow a user to reset the map to their starting point #83

NickFitz opened this issue Jun 14, 2019 · 4 comments
Labels
discussion: use case a possible use case: should it be included? what should it say? status: editor's draft there's a draft section in the report that corresponds to this discussion

Comments

@NickFitz
Copy link
Contributor

NickFitz commented Jun 14, 2019

This issue is for discussion of the use case “Reset the map to the initial view”, its examples & list of required capabilities.

@NickFitz NickFitz added discussion: use case a possible use case: should it be included? what should it say? status: placeholder there's a matching section heading / some text in the report, but it's far from complete section: client-side API Capabilities & use cases for client-side APIs labels Jun 14, 2019
@prushforth
Copy link
Member

Could it be as simple as adding a "Home" control to the map, as is often seen on Web maps? MapML hasn't implemented anything yet.

@AmeliaBR
Copy link
Member

AmeliaBR commented Jul 5, 2019

By "starting point", do you mean the initial view defined by the web page author? So it would be resetting any user pan & zoom.

Or, do you mean centering the map on user-based position, such as their current location or a saved "home" point?

@AmeliaBR AmeliaBR removed the section: client-side API Capabilities & use cases for client-side APIs label Jul 25, 2019
@NickFitz
Copy link
Contributor Author

I was thinking in terms of resetting the map to the original view provided by the web page author. For example, an encyclopaedia page concerning a battle might have a map showing the location of the battlefield. Once the user has explored the surrounding area, perhaps ending up far away from the original location and/or at a much different zoom level, it would be convenient for them to be able to reset the map to the location and zoom that the author had determined was most relevant to the text.

@Malvoz Malvoz added status: editor's draft there's a draft section in the report that corresponds to this discussion and removed status: placeholder there's a matching section heading / some text in the report, but it's far from complete labels Oct 20, 2019
@Malvoz
Copy link
Member

Malvoz commented May 7, 2021

By "starting point", do you mean the initial view defined by the web page author? So it would be resetting any user pan & zoom.

Or, do you mean centering the map on user-based position, such as their current location or a saved "home" point?

In JS libraries it seems it is the convention to name such a control to reset the map to its starting point Home. I think that is problematic, and it should be noted that UAs don't name such a control this way.

It may be misinterpreted by blind users (specifically in the context of a web map) to mean the individual's home (perhaps indicative of obtaining the user's location through the Geolocation API). For reference, this was discussed in Maps4HTML/Web-Map-Custom-Element#200 (review) and Canadian-Geospatial-Platform/geoview#192.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion: use case a possible use case: should it be included? what should it say? status: editor's draft there's a draft section in the report that corresponds to this discussion
Projects
None yet
Development

No branches or pull requests

4 participants