fix: enable map result fitting by default

This commit is contained in:
zv
2026-06-23 20:45:42 +02:00
parent ebf9f02d95
commit 659a532821

View File

@@ -84,7 +84,7 @@ export function App() {
const [mapStyleId, setMapStyleId] = useState<MapStyleId>('osm-standard'); const [mapStyleId, setMapStyleId] = useState<MapStyleId>('osm-standard');
const [showAdvanced, setShowAdvanced] = useState(true); const [showAdvanced, setShowAdvanced] = useState(true);
const [showResultLabels, setShowResultLabels] = useState(false); const [showResultLabels, setShowResultLabels] = useState(false);
const [fitMapToResults, setFitMapToResults] = useState(false); const [fitMapToResults, setFitMapToResults] = useState(true);
const [dimMapWhileLoading, setDimMapWhileLoading] = useState(true); const [dimMapWhileLoading, setDimMapWhileLoading] = useState(true);
const [queryMode, setQueryMode] = useState<QueryMode>('generated'); const [queryMode, setQueryMode] = useState<QueryMode>('generated');
const [customQuery, setCustomQuery] = useState(''); const [customQuery, setCustomQuery] = useState('');