Skip to content

TypeError: L.MarkerClusterGroup is not a constructor #1

Description

@gemanzo

Hello, i am trying to use the map field as described in readme but i get a leaflet error and then the map is not rendering.

This is the error:
Screenshot 2024-04-26 alle 09 45 49

and this is my code:

Nova4FieldMap::make('Mappa') ->type('GeoJson') ->geoJson(json_encode($this->getEmptyGeojson()))

Am i missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions