MCPcopy Create free account

hub / github.com/AnmolSaini16/next-maps / functions

Functions57 in github.com/AnmolSaini16/next-maps

↓ 25 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 5 callersFunctionuseMap
()
src/context/map-context.ts:9
↓ 2 callersFunctiongetSessionToken
()
src/lib/mapbox/api.ts:5
↓ 1 callersFunctiongetIcon
()
src/components/location-popup.tsx:26
↓ 1 callersFunctionperformSearch
()
src/components/map/map-search.tsx:58
↓ 1 callersFunctionretrieveLocation
( mapboxId: string, signal?: AbortSignal )
src/lib/mapbox/api.ts:80
↓ 1 callersFunctionsearchLocations
( options: SearchOptions )
src/lib/mapbox/api.ts:33
↓ 1 callersFunctionuseDebounce
(value: T, delay: number)
src/hooks/useDebounce.ts:3
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
src/components/ui/badge.tsx:28
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
src/components/ui/button.tsx:38
FunctionCommand
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>)
src/components/ui/command.tsx:16
FunctionCommandDialog
({ title = "Command Palette", description = "Search for a command to run...", children, ...props }: Re
src/components/ui/command.tsx:32
FunctionCommandEmpty
({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>)
src/components/ui/command.tsx:94
FunctionCommandGroup
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>)
src/components/ui/command.tsx:106
FunctionCommandInput
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>)
src/components/ui/command.tsx:56
FunctionCommandItem
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>)
src/components/ui/command.tsx:135
FunctionCommandList
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>)
src/components/ui/command.tsx:78
FunctionCommandSeparator
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>)
src/components/ui/command.tsx:122
FunctionCommandShortcut
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/command.tsx:151
FunctionDialog
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
src/components/ui/dialog.tsx:9
FunctionDialogClose
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
src/components/ui/dialog.tsx:27
FunctionDialogContent
({ className, children, ...props }: React.ComponentProps<typeof DialogPrimitive.Content>)
src/components/ui/dialog.tsx:49
FunctionDialogDescription
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>)
src/components/ui/dialog.tsx:111
FunctionDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/dialog.tsx:85
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/dialog.tsx:75
FunctionDialogOverlay
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>)
src/components/ui/dialog.tsx:33
FunctionDialogPortal
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>)
src/components/ui/dialog.tsx:21
FunctionDialogTitle
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>)
src/components/ui/dialog.tsx:98
FunctionDialogTrigger
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>)
src/components/ui/dialog.tsx:15
FunctionHome
()
src/app/page.tsx:10
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
src/components/ui/input.tsx:5
FunctionLocationMarker
({ location, onHover }: LocationMarkerProps)
src/components/location-marker.tsx:11
FunctionLocationPopup
({ location }: LocationPopupProps)
src/components/location-popup.tsx:11
FunctionMapCotrols
()
src/components/map/map-controls.tsx:7
FunctionMapProvider
({ mapContainerRef, initialViewState, children, }: MapComponentProps)
src/lib/mapbox/provider.tsx:22
FunctionMapSearch
()
src/components/map/map-search.tsx:27
FunctionMapStyles
()
src/components/map/map-styles.tsx:51
FunctionMarker
({ children, latitude, longitude, data, onHover, onClick, ...markerOptions }: Props)
src/components/map/map-marker.tsx:37
FunctionPopover
({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>)
src/components/ui/popover.tsx:8
FunctionPopoverAnchor
({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>)
src/components/ui/popover.tsx:42
FunctionPopoverContent
({ className, align = "center", sideOffset = 4, ...props }: React.ComponentProps<typeof PopoverPrimiti
src/components/ui/popover.tsx:20
FunctionPopoverTrigger
({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>)
src/components/ui/popover.tsx:14
FunctionPopup
({ latitude, longitude, children, marker, onClose, className, ...props }: PopupProps)
src/components/map/map-popup.tsx:17
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
src/app/layout.tsx:21
FunctionSeparator
({ className, orientation = "horizontal", decorative = true, ...props }: React.ComponentProps<typeof S
src/components/ui/separator.tsx:8
FunctionTabs
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>)
src/components/ui/tabs.tsx:8
FunctionTabsContent
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>)
src/components/ui/tabs.tsx:53
FunctionTabsList
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>)
src/components/ui/tabs.tsx:21
FunctionTabsTrigger
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>)
src/components/ui/tabs.tsx:37
FunctionThemeProvider
({ children, ...props }: React.ComponentProps<typeof NextThemesProvider>)
src/components/theme-provider.tsx:6
Functionclick
()
src/components/map/map-marker.tsx:79
Functionenter
()
src/components/map/map-marker.tsx:63
FunctionhandleChange
(value: string)
src/components/map/map-styles.tsx:56
Functionleave
()
src/components/map/map-marker.tsx:71
FunctiononLoad
()
src/lib/mapbox/provider.tsx:49
FunctionzoomIn
()
src/components/map/map-controls.tsx:10
FunctionzoomOut
()
src/components/map/map-controls.tsx:14