mirror of
https://github.com/directus/directus.git
synced 2026-01-28 13:38:10 -05:00
Use OpenMapTiles font instead of ArcGIS (#7780)
This commit is contained in:
@@ -73,8 +73,7 @@ export const layers: AnyLayer[] = [
|
||||
filter: ['has', 'point_count'],
|
||||
layout: {
|
||||
'text-field': '{point_count_abbreviated}',
|
||||
// 'text-font': ['Open Sans Semibold'],
|
||||
'text-font': ['Noto Sans Regular'],
|
||||
'text-font': ['Open Sans Semibold'],
|
||||
'text-size': ['step', ['get', 'point_count'], 15, 100, 17, 750, 19],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -17,8 +17,7 @@ const defaultBasemap: BasemapSource = {
|
||||
|
||||
const baseStyle: Style = {
|
||||
version: 8,
|
||||
glyphs:
|
||||
'https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_GCS_v2/VectorTileServer/resources/fonts/{fontstack}/{range}.pbf',
|
||||
glyphs: 'http://fonts.openmaptiles.org/{fontstack}/{range}.pbf',
|
||||
};
|
||||
|
||||
export function getBasemapSources(): BasemapSource[] {
|
||||
|
||||
Reference in New Issue
Block a user