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:

and this is my code:
Nova4FieldMap::make('Mappa') ->type('GeoJson') ->geoJson(json_encode($this->getEmptyGeojson()))
Am i missing something?
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:

and this is my code:
Nova4FieldMap::make('Mappa') ->type('GeoJson') ->geoJson(json_encode($this->getEmptyGeojson()))Am i missing something?