Maps Fieldtype


The official FieldType extension for the Maps module. Simply modify your Map from within your entry.




Make sure your system meets the minimum requirements:

Installation Instructions

Update instructions

License field

This module is using a license field to check if the license for the module is valid or not. On you can check your license and add your valid domains.

Control panel overview

In the Module CP you can enter then your license Control panel overview

When you enter a wrong license, the module will not work and it shows you an warning Control panel overview

On a local environment, like *.dev *.local *.localhost *.test the license will be valid for the testing and building new sites.

Migration tool

With the migration tool, you can convert you data from the "Gmaps Fieldtype" to the "Maps Fieldtype".

important: before starting, make sure you make a backup of your old data, in case of failure.

Template tags

The template tags are easily to convert, just replace gmaps_fieldtype to maps_fieldtype

The Maps Field

Once Maps Fieldtype is installed, you can add a Maps field to the Publish page.

Publish page overview

When the custom field is created, you can see the Maps Fieldtype in action on the publish field


From here you can start adding markers, customize markers, search addresses and customize the map settings.

Editing Maps setting

To modify the settings for the Map, you can click in the top right on the 'map settings' button.


Search an address

To search an address, you can enter an address in the search form. If there is any result, they will be show below the form. From here you can add the address also to the map by clicking the plus sign.
The Reverse Geocode latlng option can be used to disable reverse geocoding on Latlng coordinates. This can be handy when you have an exact latlng, that does not match any streetname, city etc...


Refresh the map

In some situations you mess up your map and you want to reset it. With the refresh map button, you can refresh your map to the saved version.

Reset the map

To simply reset/remove all your data on your map, just click the reset map button

Edit Markers (and others)

When you added some markers to your map, you can edit the markers by clicking on the edit icon in the top. Please notice that when you hover on the marker button in the top, the marker on the map will bounce so you can see which marker you are editing.


Removing markers (and others)

To remove the marker, you can click in the top on the delete icon. Or you can right click on a marker in the gmaps.

Field Tag

To show your created map, you can put your custom field tag inside a {exp:channel:entries} loop. This will show your map that you created from within the CP.


To modify the map (like the map style or anything else) you can use the power of the Maps module. Simply extend your tag with some params from the {exp:maps:map} method

{your_custom_field width="100%"}

Please make sure you add the {exp:maps:init} to your template to include the necessary files

Tag params

The following tags from the Maps module are supported

There are some that filled in automatically because you set them in the entry self.

Tag Variable

Below are the Tag Variables. Those Variables can be used in the tag described above


Show the latlng of one marker.



Show all latlng positions with pipeline`s



Show the title for one marker



Show all titles with pipeline`s



Show one icon



Show all icons with pipeline`s



Show the from latlng for use in the route function



Show the stops latlng for use in the route function



Show the to latlng for use in the route function



Variable that check if there is any marker set



Loop over the Markers



Generate a {maps:add_marker} code from the maps module. Place this inside a {exp:maps:map}....{/exp:maps:map} to the same marker to a front-end map.




The lat of the marker



The lng of the marker



The title of the marker



The icon of the marker



The content of the infowindow



Holds the current number, started from 1



Holds the current number, started from 0



Show the total numbers of markers



Get the from latlng form the n polyline



Get the stops (latlng pipline seperated) from the n polyline to convert it to the route method



Get the to latlng form the n polyline



Loop over the polyline positions, where N is the number of the polyline created.

        {lat}, {lng}


Loop over the polygons, where N is the number of the polygon created.

        {lat}, {lng}


Loop over the circles, where N is the number of the circle created.



Loop over the circles, where N is the number of the circle created.



Get all map variables


Channel Form

The Maps Fieldtype is fully compatible with Channel Form

Limit Access

You can set for different functions the access level based on the membergroup on the field setting page.



The Fieldtype supports the following modules and extension

Content Elements


{exp:channel:entries entry_id="1" dynamic="no"}


The Maps Fieldtype supports all methods of the Entry API.

To import a new data map via the Entry API, you have to use the following data structure.

array('maps_field' => array(
    'markers' => array(
            'lat' =>'52.3909176',
            'lng' =>'6.049638',
            'title' => 'test',
            'icon' => null
    'map' => array(
        'map_type' => 'roadmap',
        'map_types' => array(
    'polylines' => array(),
    'polygons' => array(),


Extra params bug

At the moment it is not possible to use enters in your custom field like below;


Instead of that you have to use it the following way;

{custom_field param1="" param2="" param3=""}

See also or



(added in v1.0.0)

 ee()->extensions->call('maps_fieldtype_save_data', $data, $entry_id, $field_id);


1.1.5 (06-03-2019)

1.1.4 (05-02-2019)

1.1.3 (11-01-2019)

1.1.2 (08-01-2019)

1.1.1 (02-01-2019)

1.1.0 (19-12-2018)

1.0.2 (18-12-2018)

1.0.1 (24-11-2018)

1.0.0 (12-11-2018)