Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

OpenStreetMap is blocking use of their tile servers whenever Referrer is not included

Đang mở
#2,215 24 bình luận 15 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, jupyter, python

Hướng nghiên cứu

Start by reading Folium's default OpenStreetMap tile configuration and how generated maps are displayed in Jupyter or VS Code notebooks. Reproduce the missing-Referrer behavior with the default tiles, then check OpenStreetMap's linked tile policy. The issue is resolved when default tile use works in supported embedded contexts while complying with that policy; the issue leaves the approach to determine.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug
OpenStreetMap is blocking use of their tile servers whenever Referrer is not included. This is a change in the last few days. See https://wiki.openstreetmap.org/wiki/Blocked_tiles.

Image

To Reproduce

Use folium.Map in any way with the default OSM tiles as the map.

Remaining to be understood
Can you send a Referrer header when running in an embedded way say in a Jupyter Notebook? How could their policy be satisfied when it's running locally or just being viewed in a notebook / potentially even a VS Code Notebook that doesn't have a URL (not Jupyter in a browser but Jupyter in an app).

Ngôn ngữ chính
Python
Star
7.4k
Fork
2.3k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-visualization/folium

Tất cả issue của python-visualization/folium

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.