Structured attribution
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- json
- Área
- documentation
Línea de trabajo
Empieza leyendo la especificación de TileJSON y la discusión enlazada sobre los controles de mapa nativos. Resuelve el esquema estructurado de atribución, incluida la localización, los títulos cortos, el formato y la gestión del feedback, y documenta después el formato acordado y sus expectativas de compatibilidad.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
As explained in https://github.com/mapbox/mapbox-gl-native/issues/2723#issuecomment-239383427, native map controls need attribution information in a format other than HTML source code. We should allow the attribution property to be set to something more structured that can be converted to the appropriate data structures on the client side. For example, it could be an array of objects, each with a required title property (interpreted as literal text) and an optional url property (for linking):
{
"attribution": [
{
"title": "© OpenStreetMap contributors",
"url": "http://www.openstreetmap.org/about/"
},
{
"title": "Creative Commons Attribution-ShareAlike 2.0",
"url": "http://www.openstreetmap.org/copyright/"
}
]
}
Other considerations:
- Should the
titleproperty be localizable? If so, perhaps it should be set to an object mapping ISO 639 language codes to literal strings. - Mobile clients are often space-constrained. In the example above, it may be advantageous to abbreviate the two items as “© OSM” and “CC BY-SA”. These abbreviations could go in a
short_titleproperty beside thetitleproperty. - Should other formatting be allowed? The current specification doesn’t disallow any HTML tags, so it’s theoretically possible to boldface text or embed images. While such content may be feasible in Web clients, native clients may have difficulty displaying it.
- Perhaps there should be a separate
feedbackproperty beside theattributionproperty. Many TileJSON documents hosted by Mapbox include an “Improve This Map” link alongside copyright statements. Native clients may want to open an alternative map feedback tool (mapbox/mapbox-gl-native#6001); as things stand, they’d have to look for and omit a specific URL. In space-constrained environments, the client may choose to omit feedback items from the attribution UI to ensure that all the legally required copyright statements are visible.
/cc @kkaefer @jfirebaugh
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 298
- Forks
- 51
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mapbox/tilejson-spec
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
mapbox/tilejson-spec#74 ·
-
Tile Pack BatchesAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
mapbox/tilejson-spec#71 · 1 comentario ·
-
The spec references "format" field without declaring itQuizá libre de nuevo @mapsam la tomó hace 963 días y no hay ningún pull request abierto. Abierto
mapbox/tilejson-spec#69 · 2 reacciones · 1 asignado ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
mapbox/tilejson-spec#67 · 1 comentario ·
-
Support date in the spec?Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
mapbox/tilejson-spec#65 ·
Todos los issues de mapbox/tilejson-spec
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
sierra-research/tau2-bench#635 ·
Los mantenedores suelen responder en 1 día
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python onesPosiblemente ocupada @fmuia la tomó hoy. Abiertodocumentation skill
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
lnccbrown/ssm-simulators#406 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
btclib-org/btclib-ecc#309 ·
Los mantenedores suelen responder en 1 día
-
area: backends type: docs
Dificultad 1/5 1-3 horas Aptitud para principiantes 83/100
schlessera/brain-kit#2383 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
yunusarda-sudo/arda-suite#15 ·
Los mantenedores suelen responder en 1 día