PHPackages                             imumz/nova-4-card-map - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. imumz/nova-4-card-map

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

imumz/nova-4-card-map
=====================

A Laravel Nova card.

v1.0.5(1y ago)04.0k—0%MITVuePHP ^7.3|^8.0

Since Mar 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iMuMz/Nova4CardMap)[ Packagist](https://packagist.org/packages/imumz/nova-4-card-map)[ RSS](/packages/imumz-nova-4-card-map/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

[![](https://camo.githubusercontent.com/a01b1e3f550cd5cc7d5efe6814fe2419d2e656a3a34e06a642ecb578605db066/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f694d754d7a2f4e6f766134436172644d61703f267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/a01b1e3f550cd5cc7d5efe6814fe2419d2e656a3a34e06a642ecb578605db066/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f694d754d7a2f4e6f766134436172644d61703f267374796c653d666c61742d737175617265)[![GitHub release (latest by date)](https://camo.githubusercontent.com/d40751b67899967dc7e5e89899286d1d42d635130da994392d6de967050d2c99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f696d756d7a2f4e6f766134436172644d61703f636f6c6f723d726564267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/d40751b67899967dc7e5e89899286d1d42d635130da994392d6de967050d2c99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f696d756d7a2f4e6f766134436172644d61703f636f6c6f723d726564267374796c653d666c61742d737175617265)[![Packagist](https://camo.githubusercontent.com/c92d3a4684cf6a47e49110f72d715790785e54b936c995042e020a8a868b8893/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d756d7a2f6e6f76612d342d636172642d6d61703f636f6c6f723d677265656e266c6f676f3d74657374696e67267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c92d3a4684cf6a47e49110f72d715790785e54b936c995042e020a8a868b8893/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d756d7a2f6e6f76612d342d636172642d6d61703f636f6c6f723d677265656e266c6f676f3d74657374696e67267374796c653d666c61742d737175617265)

Nova4CardMap
============

[](#nova4cardmap)

Custom [Laravel Nova 4](https://nova.laravel.com/) map card using [Leaflet](https://leafletjs.com/). Supports Google Maps, marker clustering, map height, latitude and longitude coordinates, GeoJSON, marker popup and custom marker icons.

[![image](images/dashboard-card-example.png)](images/dashboard-card-example.png)

### Installation

[](#installation)

```
composer require imumz/nova-4-card-map

```

### Usage

[](#usage)

```
use Imumz\Nova4CardMap\Nova4CardMap
...
(new Nova4CardMap())->width("1/2")

```

### Available Methods

[](#available-methods)

#### Height

[](#height)

```
(new Nova4CardMap())
->height('400px') // default is 300px

```

#### Google Maps

[](#google-maps)

By default the provider is OpenStreetMaps.
You must set your Google Maps API key ().

```
(new Nova4CardMap())
->googleApiKey('')
->googleMapType('roadmap'), // roadmap, satellite or hybrid

```

#### Latitude / Longitude (Point)

[](#latitude--longitude-point)

```
(new Nova4CardMap())
->type('LatLon')
->point('-6.081689','145.391881')

```

#### GeoJSON

[](#geojson)

```
(new Nova4CardMap())
->type('GeoJson')
->geoJson('')

```

#### GeoJson Example

[](#geojson-example)

```
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "popup": "I am a Popup"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          23.8623046875,
          -30.221101852485987
        ]
      }
    }
  ]
}

```

#### Popup

[](#popup)

```
(new Nova4CardMap())
->popup('popup')

```

#### Custom Marker Icon

[](#custom-marker-icon)

```
(new Nova4CardMap())
->markerIcon('/images/marker-icon.png')

```

You can pass additional parameters to set the icon size and anchor

```
->markerIcon('/images/marker-icon.png',[100,100],[50,50])

```

[![image](images/custom-markers-dashboard-example.png)](images/custom-markers-dashboard-example.png)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~58 days

Total

6

Last Release

550d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0eeb120edd255a21c41436897f061b8fad98281efe615b7c5f718735705ef797?d=identicon)[iMuMz](/maintainers/iMuMz)

---

Top Contributors

[![iMuMz](https://avatars.githubusercontent.com/u/22936672?v=4)](https://github.com/iMuMz "iMuMz (28 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/imumz-nova-4-card-map/health.svg)

```
[![Health](https://phpackages.com/badges/imumz-nova-4-card-map/health.svg)](https://phpackages.com/packages/imumz-nova-4-card-map)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
