Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
デフォルトでは、leafletJSがマップをロードしているとき、背景タイルはすべて灰色です。その色を黒(またはその他の任意の色)に変更したいと思います。どうすればこれを行うことができますか?
これは、ファイル'leaflet.css'の以下のcssルールによって制御されます。
.leaflet-container { background: #ddd; }
したがって、このルールを変更する必要があります。