Skip to content

Commit

Permalink
Support custom map styles
Browse files Browse the repository at this point in the history
tananaev committed Sep 25, 2024
1 parent 1111bb7 commit 9463e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/core/useMapStyles.js
Original file line number Diff line number Diff line change
@@ -266,7 +266,7 @@ export default () => {
{
id: 'custom',
title: t('mapCustom'),
style: styleCustom({
style: !customMapUrl?.includes('{z}') ? customMapUrl : styleCustom({
tiles: [customMapUrl],
}),
available: Boolean(customMapUrl),

0 comments on commit 9463e50

Please sign in to comment.