title | redirect_from | |
---|---|---|
Custom maps |
|
By default, Metabase uses OpenStreetMaps for map visualizations, but there are a few customization options.
To find the map settings:
Maps
from the navigation on the left.By default, Metabase uses the OpenStreetMaps tile server for pin and grid maps. If your organization requires a different look or level of detail in your map visualizations, you can change the map tile server by adding the map tile server path to the first field on the page.
The path must either be a URL that starts with http://
or https://
or a relative path to a local file in the JVM's classpath.
Currently, Metabase uses a single tile server per instance. You can't specify different tiles for different maps.
Metabase comes with two built-in region maps: world map with countries and United States map with states.
If you need a map of other regions - like EU countries or NYC neighborhoods - you can specify a GeoJSON file containing region information. You can often find GeoJSON maps by searching online for "[Your region] + geojson", like "NYC neighborhoods GeoJSON." Many community members and government organizations have already developed map files for common regions. You can also create your own GeoJSON with a tool like MapShaper or GeoJSON.io.
Your GeoJSON file should:
To add a custom map:
To pre-load one or more region maps when Metabase starts, you can use the environment variable MB_CUSTOM_GEOJSON
or a config file option custom-geojson
.
To disable the creation of custom maps, use the MB_CUSTOM_GEOJSON_ENABLED
or a config file option custom-geojson-enabled
.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )