🗺️
Mapster WP Maps
HomeProExamplesContact
  • Getting Started
    • About
    • Installation
    • Key Concepts
    • Importing/Exporting
    • Guides
      • Your First Map
      • Creating a Crowdsourced Map
      • Set Up Recurring Import
      • Adding a Custom Style
      • Building a Custom Popup
  • Creating Shapes
  • Displaying Maps
  • Maps
    • Map Tiles
    • Initial View
      • Fit to Features
      • Manual Values
      • User Location
    • Map Size
    • Points, Lines, Polygons
    • Clustering
    • Interactivity
    • Controls
      • Basic Controls
      • Geocoding & Geolocation
      • Togglers
      • Other Controls
      • Control Render Order
    • Filters
      • Category Filter
      • Custom Search Filter
      • Filter Dropdown
    • Lists
      • Store Locator
    • Specialty Maps
      • Map Comparer
      • Heatmaps
      • Elevation Profile
      • User Submission
      • Listing Page Map
    • Preloader
    • Developer
      • Javascript
      • Embedding Maps
      • Faster Loading (Cache)
      • Caching
      • Progressive Loading
  • Locations
    • Markers
    • Circles
    • Labels
    • Icons
    • 3D Models
  • Lines
    • Lines
  • Multi Lines
  • Polygons
    • Flat Polygons
    • 3D Polygons
    • Image Polygons
  • Multi Polygons
  • Popups
    • Popup Templates
      • Introduction
      • Layout, Colors, Text, CSS
      • HTML
      • Options
    • Popup Content
  • Pro Sections
    • User Submission
      • Overview
      • Submission Interface
      • Adding Custom Fields
      • Submission Admin
  • Mass Edit
  • Settings
    • General
    • Account Management
  • Advanced
  • Import
  • Tileset Management
  • Developer
    • Mapster Map ACF Field
    • Mapster Map Gravity Forms Field
    • Custom Scripts
    • Hooks
    • Spatial DB & API
    • Internationalization
Powered by GitBook
On this page
  • Geocoder Control [Requires Mapbox access token]
  • Geolocation Control
  • Directions Control [Requires Mapbox access token]

Was this helpful?

  1. Maps
  2. Controls

Geocoding & Geolocation

Controls for making it easier for your user to locate places on the map.

PreviousBasic ControlsNextTogglers

Last updated 4 days ago

Was this helpful?

Geocoder Control [Requires Mapbox access token]

Allows users to search for real-world locations and zoom to them quickly on selection.

  • Limit results by country code (use )

  • Limit results by bounds

  • Allow users to enter coordinates directly when searching for a place [Pro]

  • Modify the search placeholder text

  • Change the marker color automatically placed [Mapbox]

Geolocation Control

Allow users to quickly find themselves on the map by pressing a button.

  • Geolocate on map load [Pro]

  • Show a circle around the user point that represents accuracy of the geolocation [Pro]

  • Show user heading (direction the user's device is pointing) [Pro]

  • Track user location by updating the position automatically as the user moves [Pro]

  • Enable highest possibly accuracy of the user's device (browsers are less accurate than mobile devices)

Directions Control [Requires Mapbox access token]

Add a directions interface for entering start and end locations.

  • Change units between metric and imperial

  • Change default directions type between Driving/Traffic, Driving, Walking, Cycling

  • Change placeholder text

2-letter country codes