-
Notifications
You must be signed in to change notification settings - Fork 12
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
Is the label
element useful?
#204
Comments
It bears thinking about; there are cases where the input and select are presented to the user in the layer control, and so should be labelled. OTOH location inputs are used (so far) only as proxies for the extremities of the map extent. They generate locations based on the corresponding location of the map window. I could see them being used in future to directly provide an input control for feature geometries. In that case they would have to be labelable as well. |
In https://maps4html.org/experiments/datacube/, the datacube/msi.mapml layer source contains various types of <extent units="CBMTILE">
<input name="z" type="zoom" value="25" min="4" max="25" />
<input name="xmin" type="location" rel="map" position="top-left" axis="easting" units="pcrs" min="-6105785.728719063" max="6174630.753072981" />
<input name="ymin" type="location" rel="map" position="bottom-left" axis="northing" units="pcrs" min="-1692155.9568245453" max="4482681.2054050295" />
<input name="xmax" type="location" rel="map" position="top-right" axis="easting" units="pcrs" min="-6105785.728719063" max="6174630.753072981" />
<input name="ymax" type="location" rel="map" position="top-left" axis="northing" units="pcrs" min="-1692155.9568245453" max="4482681.2054050295" />
<input name="w" type="width" min="0" max="10000" />
<input name="h" type="height" min="0" max="10000" />
<select id="tie" name="time">
<option>2000-08-15T00:00:00Z</option>
...
</select>
<link
tref="https://datacube.services.geo.ca/ows/msi?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=msi-color&VERSION=1.3.0&LAYERS=msi&WIDTH={w}&HEIGHT={h}&CRS=EPSG:3978&BBOX={xmin},{ymin},{xmax},{ymax}&TIME={time}"
rel="image"
/>
</extent> where I think there are some concerns, and experts may require us to separate these elements from corresponding controls to be presented to users. Time will tell. |
The MapML
input
andselect
elements (which are labelable elements in HTML) are - to my understanding - only used to capture/respond to input from gestures. I haven't found any examples<label>
in MapML, is there a need to label these element?The text was updated successfully, but these errors were encountered: