Structured attribution
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- json
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng việc đọc đặc tả TileJSON và cuộc thảo luận được liên kết về các control bản đồ native. Làm rõ schema attribution có cấu trúc, bao gồm bản địa hóa, tiêu đề ngắn, định dạng và cách xử lý feedback, sau đó ghi lại định dạng đã thống nhất cùng các yêu cầu kỳ vọng về khả năng tương thích của nó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 298
- Fork
- 51
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mapbox/tilejson-spec
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
mapbox/tilejson-spec#74 ·
-
Tile Pack BatchesĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
mapbox/tilejson-spec#71 · 1 bình luận ·
-
The spec references "format" field without declaring itCó thể làm lại được @mapsam đã nhận 963 ngày trước và không có pull request nào đang mở. Đang mở
mapbox/tilejson-spec#69 · 2 reaction · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
mapbox/tilejson-spec#67 · 1 bình luận ·
-
Support date in the spec?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
mapbox/tilejson-spec#65 ·
Tất cả issue của mapbox/tilejson-spec
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
aws-samples/sample-per-model-bedrock#295 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
zephyrproject-rtos/reqmgmt#177 ·
-
documentation Size: XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(simulation): Quickstart publishes UDP 14550, which the SITL images' own docs say not to doĐang mởstatus:needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
PX4/PX4-Autopilot#29292 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100