WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Pär Thernström v1.3.4

Simple Fields Map extension

Extension to Simple Fields that adds a field type for selecting a location on a Google Map.

Simple Fields Map extension

The facts

Rating
5★ from 4
Active installs
100+
Price
Free
Last updated
18 Dec 2013
Added
Aug 2012
Requires WP
3.8
Tested up to
WP 3.7.41
Downloads
6,023

Our analysis

AI-assisted

The Simple Fields Map extension is a WordPress plugin that adds a location field type to the Simple Fields plugin. It allows you to easily add maps to posts, pages, or custom post types, with options for multiple maps and individual settings for each map.

You can configure various aspects of the maps, including zoom level, map type, and default location. The plugin saves the latitude and longitude of the chosen location, which can be retrieved for use in your theme.

Best for: This plugin suits users who need to integrate maps into their WordPress site using the Simple Fields plugin.

What it does well

  • Adds a location field type to Simple Fields
  • Supports multiple maps with separate settings
  • Customisable zoom level and map type
  • Saves latitude and longitude for easy retrieval
  • Available for free on WordPress.org

Where it falls short

  • Requires Simple Fields plugin to function
  • Limited information on updates or support since December 2013

Verdict

The Simple Fields Map extension provides basic mapping functionality for users of Simple Fields, but its age and reliance on another plugin may limit its appeal.

From the developer

Pär Thernström's own description of Simple Fields Map extension, lightly tidied.

Adds a new field type to Simple Fields that let you choose a location.

The coordinates (lat/lng) of that location is saved
and easily retrieved in for example your theme.

Happy geocoding!

Features

  • Easily add maps to any post, page or custom post type
  • Integrates seamlessly into Simple Fields
  • You can have multiple maps with separately settings
  • Each map can have it’s own:
    • zoom level
    • map type (Roadmap, Satellite, Hybrid, Terrain)
    • default location
    • Latitude and Longitude
    • Address information, including store/shop name if that was what the user searched for when adding this location
    • Preferred zoom level

    To add a map to a field group programmatically

    Slug for this field extension is “googlemaps”.

    Full example using register field group:

    <?php
    
    // Add a field group with a Google Map-field
    simple_fields_register_field_group('sf_map_test_field_fg',
        array(
            'name' => 'My map',
            'slug' => "mu_map"
            'repeatable' => 1,
            'fields' => array(
                array(
                    "type" => "googlemaps",
                    "slug" => "sf_map",
                    "name" => "Test map",
                    "options" => array(
                        "defaultZoomLevel" => 10,
                        "defaultMapTypeId" => "HYBRID", // ROADMAP | SATELLITE | HYBRID | TERRAIN
                        "defaultLocationLat" => 40.71435,
                        "defaultLocationLng" => -74.00597,
                        "defaultZoomLevel" => 10
                    )
                )
            )
        )
    );
    
    ?>
    

    Translations/Languages

    This plugin is available in the following languages:

    • English

    Usage

    1. (Make sure you have Simple Fields installed)
    2. Install the Simple Fields Maps Extension plugin
    3. You will find the Map field in the usual settings page of Simple Fields

    Read the full description on the official page →

Tagged as