-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I got a console error whatever i try to change regarding boundaries, zoom, etc.
Current setup is :
Map::make('location')
->label('Location')
->columnSpanFull()
// Basic Configuration
->defaultLocation(latitude: 47, longitude: 8)
->draggable(true)
->clickable(false) // click to move marker
->zoom(8)
->minZoom(0)
->maxZoom(28)
->tilesUrl("https://tile.openstreetmap.org/{z}/{x}/{y}.png")
->detectRetina(true)
// Marker Configuration
->showMarker(false)
// Controls
->showFullscreenControl(true)
->showZoomControl(true)
// Location Features
->liveLocation(false, false, 5000)
->showMyLocationButton(false)
->setBoundsToBritishIsles() // Example for British Isles
// GeoMan Integration
->geoMan(true)
->geoManEditable(true)
->geoManPosition('topleft')
->drawCircleMarker(false)
->rotateMode(false)
->drawMarker(false)
->drawPolygon(true)
->drawPolyline(false)
->drawCircle(true)
->drawRectangle(false)
->drawText(false)
->dragMode(true)
->cutPolygon(false)
->editPolygon(true)
->deleteLayer(true)
->setColor('#3388ff')
->setFilledColor('#cad9ec')
->extraStyles([
'min-height: 600px',
])
`

Metadata
Metadata
Assignees
Labels
No labels