Leaflet / Leaflet

🍃 JavaScript library for mobile-friendly interactive maps 🇺🇦
https://leafletjs.com
BSD 2-Clause "Simplified" License
41.3k stars 5.83k forks source link

Quick start guide requires giving credit card to Mapbox #6268

Closed matkoniecz closed 3 years ago

matkoniecz commented 6 years ago

Currently https://leafletjs.com/examples/quick-start/ guides using Mapbox tiles.

Unfortunately getting Mapbox API key is not trivial. Mapbox asks for credit card number.

It is generally more complicated that quick start should be and excludes people without credit cards (what may be unusual in USA or Western Europe but is not so unusual in other countries or younger people).

I recommend switching to CartoDB basemaps for quick start guide "For raster basemaps you can make use of them directly without an API KEY." what in my opinion fits quick start well ( https://carto.com/location-data-services/basemaps/ )

How to reproduce

What behaviour I'm expecting and which behaviour I'm seeing

Quick start guide is quick, uncomplicated and without third-party dependencies

Instead I encounter things like

image

(visible part of key cropped out)

It is possible to bypasss credit card dialog that but it requires using ad blocker element hider or DOM inspector and API key will not work anyway.

Minimal example reproducing the issue

not applicable

matkoniecz commented 6 years ago

Thunderforest requires registration but smallest plan is not requiring credit card.

matkoniecz commented 6 years ago

According to https://github.com/Leaflet/Leaflet/issues/6336#issuecomment-432904327 it is likely at least in part due to Mapbox sponsoring Leaflet.

Note: I consider it OK that Leaflet is paying for product placement on the website and if that is necessary then I am fine with rejecting this proposed change. But I would still consider changing it at least for quickstart.

Falke-Design commented 3 years ago

Move discussion to #6336