Skip to content

Commit

Permalink
Export GeolocationControl also as GeolocateControl
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed May 8, 2024
1 parent d7388cb commit d0cec8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/controls/geolocation.control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { usePositionWatcher } from "@/lib/composable/usePositionWatcher";
* See [GeolocateControl](https://maplibre.org/maplibre-gl-js/docs/API/classes/GeolocateControl/)
*/
export default defineComponent({
name: "MglGeolocationControl",
name: "MglGeolocateControl",
props: {
/**
* Position on the map to which the control will be added. Valid values are 'top-left', 'top-right', 'bottom-left', and 'bottom-right'. Defaults to 'top-right'.
Expand Down
1 change: 1 addition & 0 deletions lib/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export { default as MglCustomControl } from "./controls/custom.control";
export { default as MglFullscreenControl } from "./controls/fullscreen.control";
export { default as MglFrameRateControl } from "./controls/frameRate.control";
export { default as MglGeolocationControl } from "./controls/geolocation.control";
export { default as MglGeolocateControl } from "./controls/geolocation.control";
export { default as MglNavigationControl } from "./controls/navigation.control";
export { default as MglScaleControl } from "./controls/scale.control";
export { default as MglStyleSwitchControl } from "./controls/styleSwitch.control";
Expand Down

0 comments on commit d0cec8e

Please sign in to comment.