🗺️
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
      • Query String Control
  • 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

Was this helpful?

Displaying Maps

Learn about the options for displaying your map to users.

PreviousCreating ShapesNextMap Tiles

Last updated 1 month ago

Was this helpful?

After you've made your map, you've got to show it off to everyone! There are a few ways to do this with Mapster WP Maps.

  • If you use Gutenberg, there is a "Map Select" block, where you can choose from the maps you've created, and everything will be automatically taken care of for you

  • If you want to use Shortcodes directly (as in a widget, or on a post), you can find the shortcode on the Map Editing List (on the right-hand side, near the date you created the map) and copy-paste that shortcode where you like

The following parameters are available for the shortcode [mapster_wp_map]:

  • id -- this specifies the Wordpress ID of the map to be displayed

  • zoom -- this specifies a custom zoom level that will override the one set in the map options

  • latitude -- specifies a custom starting latitude, overriding map options

  • longitude -- specifies a custom starting longitude, overriding map options

  • single_feature_id -- used to display a single feature (a Location, Line, or Polygon), using the map_id as the base template (without any of its default features showing). Use the Wordpress ID for the feature

  • feature_ids — similar to single_feature_id, this allows you to load multiple features manually into your shortcode. Just separate the IDs with commas.

  • You can use the map post directly and view it as a post, and it will automatically contain the map you created for it

Please let us know if you need more options!