mirror of
https://github.com/maputnik/editor.git
synced 2026-01-03 20:10:02 +00:00
Fix missing spec info (#1370)
## Launch Checklist This fixes an issue with missing info in the spec field due to using the redacted spec (the one without the docs). Before - missing button near color when hovering <img width="397" height="202" alt="image" src="https://github.com/user-attachments/assets/6f261407-5348-4a71-a6d8-afaff5b27e03" /> After: <img width="397" height="202" alt="image" src="https://github.com/user-attachments/assets/d2de1b2d-d4cf-4394-b995-e50b957da72c" /> I think I already solved this in the past, too bad I didn't add the relevant tests back then... - [x] Briefly describe the changes in this PR. - [x] Include before/after visuals or gifs if this PR includes visual changes. - [x] Write tests for all new functionality. - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
This commit is contained in:
@@ -8,7 +8,8 @@ import {arrayMoveMutable} from 'array-move'
|
||||
import hash from "string-hash";
|
||||
import { PMTiles } from "pmtiles";
|
||||
import {Map, LayerSpecification, StyleSpecification, ValidationError, SourceSpecification} from 'maplibre-gl'
|
||||
import {latest, validateStyleMin} from '@maplibre/maplibre-gl-style-spec'
|
||||
import {validateStyleMin} from '@maplibre/maplibre-gl-style-spec'
|
||||
import latest from '@maplibre/maplibre-gl-style-spec/dist/latest.json'
|
||||
|
||||
import MapMaplibreGl from './MapMaplibreGl'
|
||||
import MapOpenLayers from './MapOpenLayers'
|
||||
|
||||
Reference in New Issue
Block a user