Skip to content

Commit

Permalink
Add Zoom controls (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrie authored Feb 6, 2024
2 parents 36d9087 + 1155c2c commit 60da20e
Show file tree
Hide file tree
Showing 2 changed files with 4,629 additions and 4,696 deletions.
3 changes: 2 additions & 1 deletion src/components/Map/DynamicMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import maplibregl from 'maplibre-gl';
import 'maplibre-gl/dist/maplibre-gl.css';
import React, { useEffect, useState } from 'react';
import Map, { FullscreenControl } from 'react-map-gl';
import Map, { FullscreenControl, NavigationControl } from 'react-map-gl';
import { maptilerBaseUrl, maptilerKey } from '~/utils';
import { RSVPopup, RSVSegment } from '.';

Expand Down Expand Up @@ -97,6 +97,7 @@ export const DynamicMap: React.FC<
)
)}
<RSVPopup info={info} selected={selected} setSelected={setSelected} />
<NavigationControl showCompass={false} />
</Map>
);
};
Loading

0 comments on commit 60da20e

Please sign in to comment.