Skip to content

Commit

Permalink
Maplibre <FollowControls> component - expose following prop (viamro…
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-parks authored Nov 6, 2024
1 parent 1b795f4 commit 5c0cef3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/prime-blocks",
"version": "0.1.6",
"version": "0.1.7",
"repository": {
"type": "git",
"url": "https://github.com/viamrobotics/prime.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/src/lib/maplibre/controls/follow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export let lng: number | undefined = undefined;
export let lat: number | undefined = undefined;
export let onChange: ((following: boolean) => void) | undefined = undefined;
let following = false;
export let following = false;
const { map } = useMapLibre();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ let didHoverTooltip = Boolean(
<FollowControls
lng={baseGeoPose?.lng}
lat={baseGeoPose?.lat}
following
/>
</div>
</MapLibre>
Expand Down

0 comments on commit 5c0cef3

Please sign in to comment.