🗺️
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
  • Creating Geography Features
  • Adding Locations to a Map
  • Defining Access Tokens / API Keys

Was this helpful?

  1. Getting Started
  2. Guides

Your First Map

PreviousGuidesNextCreating a Crowdsourced Map

Last updated 21 hours ago

Was this helpful?

Creating Geography Features

You can create a map without any geographies, but you probably want to at least show a point or an area on your map. To create a geography, select a Location (point), a Line, or a Polygon from the left hand side under "Maps" in your Wordpress menu.

For the sake of simplicity, let's create a single Location for this map. Locations come in a few flavors: circles, markers, and labels/icons. We'll just create a simple Marker. Click on Locations and you'll see the screen below.

Click to add the marker to the map, or just search an address anywhere on Earth in the search bar. Your marker will appear. Make sure you give a title to this post so you can find it later. You can adjust some settings below the map, such as color, opacity, etc, and then save the Location post.

Adding Locations to a Map

Now, you'll have to create a map to show this location on. Click on Maps on the left and add a new Map.

To keep it simple, let's just keep all the settings as default. Go to the "Features" tab under the map, and click on the Locations input. There, you'll see the title of your marker Location appear. Once you click it, it'll appear instantly on the map.

Now you can try viewing this post directly to see the map with your Location on it. Or, go back to the main list of maps and get the shortcode for the map, and place it on any Page or Post in your site!

Defining Access Tokens / API Keys

Once you have the access token or API key that you need, enter it into the Settings screen, or into a single Map if you don't want to set a default settings token for the whole plugin at once.

Learn more about .

To use Mapbox GL JS instead of MapLibre, you'll need to get an access token from Mapbox. . This access token is also needed for certain controls, specifically geocoders.

If you're using Google Maps, you'll need to enter into the Maps > Settings page.

Creating Locations
Read more about that here
an API key