814/remove mapbox references (#816)

Fixes #814

* fix: remove outdated references to mapbox
* docs: fix references in readme
* chore: fix mapbox references in tests
* chore: fix mapbox references in stories, webpack config
* chore: remove empty array
This commit is contained in:
Kevin Schaul
2023-08-28 21:17:49 -05:00
committed by GitHub
parent a99cbc00ba
commit 3727c9ad5e
31 changed files with 82 additions and 125 deletions
@@ -1,13 +1,13 @@
import React from 'react';
import MapMapboxGl from '../src/components/MapMapboxGl';
import MapMaplibreGl from '../src/components/MapMaplibreGl';
import {action} from '@storybook/addon-actions';
import {Wrapper} from './ui';
import {withA11y} from '@storybook/addon-a11y';
export default {
title: 'MapMapboxGl',
component: MapMapboxGl,
title: 'MapMaplibreGl',
component: MapMaplibreGl,
decorators: [withA11y],
};
@@ -98,7 +98,7 @@ const mapStyle = {
export const Basic = () => {
return <div style={{height: "100vh", width: "100vw"}}>
<MapMapboxGl
<MapMaplibreGl
mapStyle={mapStyle}
inspectModeEnabled={false}
replaceAccessTokens={(s) => s}
+2 -2
View File
@@ -16,8 +16,8 @@ export const Basic = () => (
<div style={{maxHeight: "200px"}}>
<ModalDebug
isOpen={true}
renderer="mbgljs"
mapboxGlDebugOptions={{}}
renderer="mlgljs"
maplibreGlDebugOptions={{}}
mapView={{zoom: 1, center: {lat: 0, lng: 0}}}
/>
</div>