mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
config for gratuitude control
This commit is contained in:
parent
a1da109c00
commit
5cb8885131
@ -51,6 +51,7 @@ function UtopiaMap({
|
||||
children,
|
||||
geo,
|
||||
showFilterControl = false,
|
||||
showGratitudeControl = false,
|
||||
showLayerControl = true
|
||||
}
|
||||
: UtopiaMapProps) {
|
||||
@ -123,7 +124,7 @@ function UtopiaMap({
|
||||
{showFilterControl && <FilterControl />}
|
||||
{/*todo: needed layer handling is located LayerControl*/}
|
||||
{showLayerControl && <LayerControl></LayerControl>}
|
||||
{<GratitudeControl/>}
|
||||
{showGratitudeControl && <GratitudeControl/>}
|
||||
</Control>
|
||||
<TileLayer
|
||||
maxZoom={19}
|
||||
|
||||
@ -9,7 +9,8 @@ export interface UtopiaMapProps {
|
||||
children?: React.ReactNode,
|
||||
geo?: any,
|
||||
showFilterControl?: boolean,
|
||||
showLayerControl?: boolean
|
||||
showLayerControl?: boolean,
|
||||
showGratitudeControl?: boolean
|
||||
}
|
||||
|
||||
export interface LayerProps {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user