-
Notifications
You must be signed in to change notification settings - Fork 16
A georeferenced, quasi-static, but responsive, client side image map #222
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
Comments
Relates to Technical Drawings Use Case |
Admittedly this is a bit confusing to me as I had only considered Anyhow, I think this implementation would need to consider maps that use multiple images: |
Indeed I think In either case I guess that would mean that if you wanted to make the image progressively enhance (pan zoom), you would have to make both / all the images pan and zoom. I don't think that's a deal breaker. |
I think the behaviour should be like this: https://openlayers.org/en/latest/examples/static-image.html |
Since
<map>
is already a shared primitive of the Web Platform, albeit neglected and accumulating technical debt with each passing year, we should prototype the following basic progressive enhancement / graceful degradation scenario, in which the shared primitives<img>
<map>
and<area>
are progressively enhanced into a pannable, zoomable georeferenced resource:In this scenario, although the only 'layers' are the
<img>
and the<area>
, we should make it so that the image is pannable and zoomable, perhaps by converting it dynamically to a<layer->
, as we do with<area>
.In a (future) native element, it would be the presence of the
projection
,lat
,lon
andzoom
attributes that trigger this behaviour, since without those attributes, it is just a plain non-responsive / progressive client side image map.The text was updated successfully, but these errors were encountered: