Skip to content

Supported modules

The Fieldtype supports the following modules and extension

  • Matrix
  • Low Variables
  • SafeCracker
  • Content Elements
  • Grid
  • Matrix
  • Low Variables

Content Elements

{exp:reinos_maps:html_header}

{exp:channel:entries entry_id="1" dynamic="no"}
	{ce_field}
		{maps_fieldtype}
		   	{value}
		{/maps_fieldtype}
	{/ce_field}
{/exp:channel:entries}

{exp:reinos_maps:html_footer}

Webservice

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(
        array(
            'lat' =>'52.3909176',
            'lng' =>'6.049638',
            'title' => 'test',
            'icon' => null
        )
    ),
    'map' => array(
        'map_type' => 'roadmap',
        'map_types' => array(
            'hybrid',
            'roadmap',
            'satellite',
            'terrain'
        )
    ),
    'polylines' => array(),
    'polygons' => array(),
    
));