232

Product support

Get help in the plugin support forum.

  • Added on Mar 10, 2025
  • Current version: 1.0.0
  • Platform Compatibility
    v3.x use latest
    v2.x incompatible
    v1.x incompatible
  • License: Regular / Extended
  • Created by

Categories

This plugin adds a form widget for searching for addresses and/or latlng coordinates (LeafletJS / OpenStreetMap).

No api key required for use.

What we plan to implement in the future:

  • Extending the Rainlab.Location plugin to allow use of the Mappist popup.
  • Integration with Rainlab.Builder
  • Integration with Tailor

Why do I have to pay for this plugin?

We have chosen to offer this plugin as a paid version in order to support the OctoberCMS team with every sale. Every purchase contributes directly to the development and growth of OctoberCMS, enabling this exceptional platform to continue to evolve, offer new features and strengthen the community around it.

By opting for this plugin, you're not only supporting OctoberCMS team, you're also helping to enrich the OctoberCMS ecosystem for an even brighter future.

Thank you for your support and for being part of this adventure!

Mappist Form Widget

This plugin introduces a Map Picker form field called mapPicker. The form widget renders a field with a button that opens a popup where you can pick a location on a Leaflet Map.

You can define a lang for the map informations with lang attribute in the field definition. By default, the lang is en.

Either you drag the marker or click on the map, the field retrieves LatLng that can be stored in your model as a text with format Lat, Lng and you can also automatically populate mapped fields based on the position you pick on the map.

Available mappings:

  • city
  • street
  • county
  • state
  • zip
  • country
  • country_code
  • latitude
  • longitude

Usage:

# ===================================
#  Form Field Definitions
# ===================================

fields:
    latlng:
        label: Latitude / Longitude
        type: mapPicker
        fieldMap:
            latitude: latitude
            longitude: longitude
            street: street
            city: city
            county: county
            state: state_code
            zip: zip
            country: country
            country_code: country_code

    street:
        label: Street
    city:
        label: City
    zip:
        label: Zip
    county:
        label: County
    country: 
        label: Country
    country_code:
        label: Country Code
    state:
        label: State
    latitude:
        label: Latitude
    longitude:
        label: Longitude
1.0.0

First version of Mappist

Mar 03, 2025