Re:Mapping in HTML – A Proposal for a New Element
by jcranmer on Thursday October 26, 2017 @08:23PM
(#15564517)
> For example, my user agent may know where I live and thus show me this place relative to that place—the sort of thing that a web component can’t possibly do.
Web components have been able to do that since before web components existed: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation . It's almost as old as <canvas>.
Re:Mapping in HTML – A Proposal for a New Element
by chrismorgan on Thursday October 26, 2017 @08:46PM
(#15564637)
I didn’t say where I am, I said where I live. I didn’t make the distinction clear enough, but I did mean it. The user agent may know more things that are able to make the map more useful for me.
I’m cautiously in favour of making a standardised map canvas element, without any form of geocoding (thus reducing its usefulness, admittedly), leaving it to a web component to handle geocoding through any particular provider.