Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/mapbox/custom-cursor/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {useState, useCallback} from 'react';
import {createRoot} from 'react-dom/client';
import Map, {MapStyle} from 'react-map-gl/mapbox';
import ControlPanel from './control-panel';
import MAP_STYLE from '../../../map-style-basic-v8.json';
import MAP_STYLE from '../../map-style-basic-v8.json';

const MAPBOX_TOKEN = ''; // Set your mapbox token here

Expand Down
2 changes: 1 addition & 1 deletion examples/mapbox/layers/src/control-panel.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import {useState, useEffect} from 'react';
import {fromJS} from 'immutable';
import MAP_STYLE from '../../../map-style-basic-v8.json';
import MAP_STYLE from '../../map-style-basic-v8.json';

const defaultMapStyle: any = fromJS(MAP_STYLE);
const defaultLayers = defaultMapStyle.get('layers');
Expand Down
2 changes: 1 addition & 1 deletion examples/mapbox/zoom-to-bounds/src/map-style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
LineLayerSpecification
} from 'react-map-gl/mapbox';

import MAP_STYLE from '../../../map-style-basic-v8.json';
import MAP_STYLE from '../../map-style-basic-v8.json';

const sfNeighborhoods: GeoJSONSourceSpecification = {
type: 'geojson',
Expand Down
2 changes: 1 addition & 1 deletion examples/maplibre/custom-cursor/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {useState, useCallback} from 'react';
import {createRoot} from 'react-dom/client';
import {Map, MapStyle} from 'react-map-gl/maplibre';
import ControlPanel from './control-panel';
import MAP_STYLE from '../../../map-style-basic-v8.json';
import MAP_STYLE from '../../map-style-basic-v8.json';

const initialViewState = {
longitude: -122.48,
Expand Down
2 changes: 1 addition & 1 deletion examples/maplibre/layers/src/control-panel.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import {useState, useEffect} from 'react';
import {fromJS} from 'immutable';
import MAP_STYLE from '../../../map-style-basic-v8.json';
import MAP_STYLE from '../../map-style-basic-v8.json';

const defaultMapStyle: any = fromJS(MAP_STYLE);
const defaultLayers = defaultMapStyle.get('layers');
Expand Down
Loading
Loading