Mapbox Maps for WordPress

Use Mapbox maps on your WordPress site. Add your Mapbox access token to MapPress and your maps are drawn with Mapbox GL: fast, smooth maps with sharp labels, in Mapbox’s map designs or your own Mapbox Studio styles, with Mapbox address search. No Mapbox account? MapPress’s default maps are free OpenStreetMap maps that need no key.

How it works

  • Mapbox GL. Maps are drawn with Mapbox GL, Mapbox’s own map engine, for smooth zooming and crisp text at any size.
  • Mapbox map styles. Choose from Mapbox’s Standard styles, including light, dark and satellite versions, and Outdoors for trails and terrain.
  • Your own Mapbox Studio styles (Pro). Design a map in Mapbox Studio, paste its style URL into MapPress and use it on any map.
  • Mapbox address search. Use Mapbox to find addresses when you add locations. It is more accurate than the free geocoder.
  • Mix and match. Map tiles and address search are separate settings, so you can use Mapbox for one and a free service for the other.
  • Everything else works the same. Markers, popups, clustering, shapes, KML files and mashups all work on Mapbox maps.

To see what the styles look like, try Mapbox’s Standard style demo, or read about Standard and Standard Satellite and Outdoors on Mapbox’s site.

Add it to your site

  1. Create a Mapbox account and copy your access token from the Mapbox account page.
  2. In MapPress › Settings, set Tile Service to Mapbox and paste the token into Mapbox access token.
  3. Under Styled Maps, choose a default style. To use a different style on one map, pick it in the map editor.

FAQ

Is there a WordPress plugin for Mapbox?

Yes. MapPress shows Mapbox maps in WordPress posts and pages, drawn with Mapbox GL. Enter your Mapbox access token in the settings and choose a Mapbox style.

Do I need a Mapbox access token?

Yes, for Mapbox maps and Mapbox address search. You create the token in your Mapbox account. You don’t need one for MapPress’s default OpenStreetMap maps.

What does Mapbox cost?

Mapbox includes a free monthly allowance and charges for usage above it. Mapbox bills your Mapbox account directly; MapPress adds no map charges. See Mapbox pricing for current rates.

Can I use my Mapbox Studio style in WordPress?

Yes, with MapPress Pro. Copy the style URL from Mapbox Studio, which looks like mapbox://styles/your-name/style-id, and add it as a custom style in MapPress.

Can I use Mapbox address search with free OpenStreetMap maps?

Yes. Set Geocoder to Mapbox and leave Tile Service on OpenFreeMap. Your maps stay free and addresses are found with Mapbox.

Can I switch between Mapbox, OpenStreetMap and Google Maps later?

Yes. MapPress stores your maps independently of the map provider, so you can switch without losing maps or markers.

Upgrading from older versions

Why did my Mapbox maps switch to Mapbox GL?

MapPress now draws Mapbox maps with Mapbox GL instead of Leaflet. Maps load faster, zoom smoothly and have sharper labels. Your maps, markers and custom styles are unchanged.

What looks different?

Mapbox’s older built-in styles are replaced by its current Standard styles. Streets becomes Standard, Light and Dark become the Standard light and dark themes, and Satellite and Satellite Streets become Standard Satellite. Outdoors is unchanged.

Can I get an older Mapbox style back?

Yes, with MapPress Pro. Add it as a custom style using its Mapbox address:

  • Streets: mapbox://styles/mapbox/streets-v12
  • Light: mapbox://styles/mapbox/light-v11
  • Dark: mapbox://styles/mapbox/dark-v11
  • Satellite: mapbox://styles/mapbox/satellite-v9
  • Satellite Streets: mapbox://styles/mapbox/satellite-streets-v12

Do I need to check my Mapbox account?

Yes. Mapbox counts usage differently for Mapbox GL (map loads) than for the older map tiles, so check your usage in your Mapbox account after upgrading.

Can I use free maps instead?

Yes. Switch the map tiles to OpenFreeMap in the MapPress settings: there is no key and no usage charge. You can keep Mapbox for address search. OpenFreeMap styles can be customized with the free Maputnik editor.

Can I switch back to Leaflet?

“Mapbox (Leaflet)” remains in the settings for now, but it is a legacy option and will be removed in a future version.

Free vs Pro

FreePro
Mapbox maps with Mapbox’s styles✓✓
Mapbox address search✓✓
A different style per map✓✓
Your own Mapbox Studio styles✓