PHPackages                             yunusga/carbon-field-map-yandex - 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. yunusga/carbon-field-map-yandex

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

yunusga/carbon-field-map-yandex
===============================

Carbon Fields extension, that adds a Map Yandex field type.

v1.1.1(3y ago)022GPL-2.0+JavaScript

Since Jun 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yunusga/carbon-field-map-yandex)[ Packagist](https://packagist.org/packages/yunusga/carbon-field-map-yandex)[ Docs](https://github.com/yunusga/carbon-field-map-yandex)[ RSS](/packages/yunusga-carbon-field-map-yandex/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Carbon Fields Map Yandex
========================

[](#carbon-fields-map-yandex)

The map field provides a Yandex-powered map with an address search field for [Carbon Fields](https://github.com/htmlburger/carbon-fields).

```
Field::make( 'map_yandex', 'crb_map', __( 'Yandex Map' ) )
```

Install via Composer
--------------------

[](#install-via-composer)

```
composer require yunusga/carbon-field-map-yandex
```

Information
-----------

[](#information)

The field stores several pieces of related information:

AtributeDescriptionValue TypeValue`'value'`Latitude &amp; Longitude`(string)`11.370946,142.591472`'lat'`Latitude`(float)`11.370946`'lng'`Longitude`(float)`142.591472`'address'`Address`(string)`The lowest point of the Mariana Trench`'zoom'`Zoom level`(int)`4### Yandex Maps JS Key setup

[](#yandex-maps-js-key-setup)

As of October 11, 2018, Yandex requires users to generate an API key in order to use the Yandex Maps API:

You can get your API key here:

Once you're ready with the process of generating a key, you'll need to provide the key to Carbon Fields through a filter:

```
/**
 * Provide the Yandex Maps API key to Carbon Fields
 *
 * @param string $key Yandex JS API key.
 */
function crb_get_yandex_maps_api_key( $key ) {
	return 'your key goes here';
}
add_filter( 'carbon_fields_map_yandex_field_api_key', 'crb_get_yandex_maps_api_key' );
```

Config methods
--------------

[](#config-methods)

### `set_position( $lat, $lng, $zoom )`

[](#set_position-lat-lng-zoom-)

Set the default position on the map specified by `$lat` and `$lng` and the default zoom level to `$zoom` (zoom `0` corresponds to a map of the Earth fully zoomed out).

```
Field::make( 'map_yandex', 'crb_company_location', __( 'Location' ) )
	->set_help_text( __( 'drag and drop the pin on the map to select location' ) )
```

Usage
-----

[](#usage)

To get all the location data as an array, you can use the `map_yandex` type in the retrieval functions. Example:

```
// Get the location data.
$map_yandex = carbon_get_post_meta( $post_id, $field_name );
```

Value Format
------------

[](#value-format)

```
array(
	'value'   => '11.370946,142.591472',
	'lat'     => 11.370946,
	'lng'     => 142.591472,
	'zoom'    => 4,
	'address' => 'The lowest point of the Mariana Trench',
)
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1418d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c79bd08955a7192c2b24115e81c08c0c82a59ea1d4e00dfa52fb8e1c927c85a?d=identicon)[yunusga](/maintainers/yunusga)

---

Top Contributors

[![yunusga](https://avatars.githubusercontent.com/u/5267816?v=4)](https://github.com/yunusga "yunusga (12 commits)")

---

Tags

carbon-fieldswordpresswordpress-pluginwordpresscarbon-fieldcarbon-field-map-yandex

### Embed Badge

![Health badge](/badges/yunusga-carbon-field-map-yandex/health.svg)

```
[![Health](https://phpackages.com/badges/yunusga-carbon-field-map-yandex/health.svg)](https://phpackages.com/packages/yunusga-carbon-field-map-yandex)
```

###  Alternatives

[htmlburger/carbon-field-icon

Carbon Fields extension, that adds a Icon field type.

198.7k](/packages/htmlburger-carbon-field-icon)[iamntz/carbon-fields-urlpicker

Carbon Fields extension that adds a URL picker field type.

1438.6k](/packages/iamntz-carbon-fields-urlpicker)

PHPackages © 2026

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