Initial work to convert from Mapbox GL v1.13 to MapLibre v2.4.0.

This commit is contained in:
Luke Seelenbinder
2022-10-27 14:02:47 +02:00
parent 7d5fb23130
commit 74cacd5bdf
41 changed files with 32695 additions and 6879 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ import ModalSurvey from './ModalSurvey'
import ModalDebug from './ModalDebug'
import { downloadGlyphsMetadata, downloadSpriteMetadata } from '../libs/metadata'
import {latest, validate} from '@mapbox/mapbox-gl-style-spec'
import {latest, validate} from '@maplibre/maplibre-gl-style-spec'
import style from '../libs/style'
import { initialStyleUrl, loadStyleUrl, removeStyleQuerystring } from '../libs/urlopen'
import { undoMessages, redoMessages } from '../libs/diffmessage'
@@ -441,7 +441,7 @@ export default class App extends React.Component {
if (opts.save) {
this.saveStyle(newStyle);
}
this.setState({
mapStyle: newStyle,
dirtyMapStyle: dirtyMapStyle,