PHPackages                             villeristi/cmb2-field-leaflet-geocoder - 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. villeristi/cmb2-field-leaflet-geocoder

ActiveWordpress-plugin

villeristi/cmb2-field-leaflet-geocoder
======================================

Leaflet (with Geocoder) field type for CMB2.

0.1.3(9y ago)95498[2 issues](https://github.com/villeristi/CMB2-field-Leaflet-Geocoder/issues)[2 PRs](https://github.com/villeristi/CMB2-field-Leaflet-Geocoder/pulls)MITJavaScript

Since Jan 10Pushed 2y ago4 watchersCompare

[ Source](https://github.com/villeristi/CMB2-field-Leaflet-Geocoder)[ Packagist](https://packagist.org/packages/villeristi/cmb2-field-leaflet-geocoder)[ Docs](https://github.com/villeristi/CMB2-field-Leaflet-Geocoder)[ RSS](/packages/villeristi-cmb2-field-leaflet-geocoder/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

CMB2 Field Leaflet Geocoder
===========================

[](#cmb2-field-leaflet-geocoder)

A Leaflet (with Geocoder) field type for [CMB2](https://github.com/WebDevStudios/CMB2).

[![Build Status](https://camo.githubusercontent.com/a40f4b6f537f567886e35edc5f5782c0b2bf9381008f412f834f46a75f63adb6/68747470733a2f2f7472617669732d63692e6f72672f76696c6c6572697374692f434d42322d6669656c642d4c6561666c65742d47656f636f6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/villeristi/CMB2-field-Leaflet-Geocoder)

Installation
------------

[](#installation)

#### Composer

[](#composer)

`composer require villeristi/cmb2-field-leaflet-geocoder`

#### Manual

[](#manual)

1. [Download](https://github.com/villeristi/CMB2-field-Leaflet-Geocoder/archive/master.zip) the plugin
2. Place the plugin folder in your `/wp-content/plugins/` directory
3. Activate the plugin in the plugins dashboard

Usage
-----

[](#usage)

```
array(
  'id' => $prefix . 'location',
  'name' => __('Coordinates'),
  'desc' => __('Drag the marker after finding the right spot to set the exact coordinates'),
  'type' => 'leaflet_map',
  /*
  For these extra attributes, please consult Leaflet [documentation](http://leafletjs.com/reference-1.0.0.html)
  'attributes' = array(
    'tilelayer'           => 'http://{s}.tile.osm.org/{z}/{x}/{y}.png',
    'searchbox_position'  => 'topright'; // topright, bottomright, topleft, bottomleft,
    'search'              => __( 'Search...' ),
    'not_found'           => __( 'Not found' ),
    'initial_coordinates' => [
        'lat' => 61.9241, // Go Finland!
        'lng' => 25.7482  // Go Finland!
    ],
    'initial_zoom'        => 4 // Zoomlevel when there's no coordinates set,
    'default_zoom'        => 8 // Zoomlevel after the coordinates have been set & page saved
  )
  */
),
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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 ~0 days

Total

4

Last Release

3409d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8857bd0e7bb4cf8c0202db16679923a32a0cfb550f156c38041d76b5edd7d78f?d=identicon)[villeristi](/maintainers/villeristi)

---

Tags

pluginwordpress

### Embed Badge

![Health badge](/badges/villeristi-cmb2-field-leaflet-geocoder/health.svg)

```
[![Health](https://phpackages.com/badges/villeristi-cmb2-field-leaflet-geocoder/health.svg)](https://phpackages.com/packages/villeristi-cmb2-field-leaflet-geocoder)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)[10up/debug-bar-elasticpress

Extends the Debug Bar plugin for usage with ElasticPress

2917.0k](/packages/10up-debug-bar-elasticpress)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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