Mapbox Tiling

Learn how to connect your Wordpress installation to Mapbox Tiling and make maps with a ton of data

Mapster WP Maps allows you to interconnect your Mapbox account and your Wordpress installation. The first way we've implemented this so far is with the ability for you to create or update a tileset source inside Mapbox using Mapbox's MTS (Mapbox Tiling Service), which allows you to generate really big tilesets that will load instantly into your Mapbox maps.

To get started, you'll need to get your Mapbox Username and a Mapbox Secret Token with tilesets:read, tilesets:write, and tilesets:list enabled. Enter these into the "Advanced Options" tab of the Settings. Your Mapbox Username is just the name that appears in Mapbox in the top-right when you click on your user icon.

Once you've added these, you're ready to create a tileset source and tileset. You will need some Mapbox knowledge to really understand why you're doing this and how it works (check out our Youtube tutorials for a Mapbox tutorial!).

Select the category that you'd like to be turned into a tileset. This can contain any kinds of Geography Types -- Points, Polygons, Lines -- it doesn't matter. They'll all be joined together. This upload will also include any Custom Properties you've added onto the data. Note that it won't include ACF Fields, only custom properties. Get in touch if that's an issue that you need fixed!

Select whether you're creating a new tileset source or updating an existing one. If creating new, enter a name and press "Update Tileset Source". This will take a short time to query, and you'll see a series of responses returning that will explain if your requests worked or not.

If you're updating, select from the dropdown list of Tileset Sources that appear, and Update Tileset Source. Again, you'll see a series of responses that show the status.

Now you can go to Mapbox and see your new/updating tileset. If you enter it, you'll see the tileset job generation in process.

If you need custom recipes or other advanced features, just get in touch with us. By default this uses a very simple recipe that will make your data visible at all zoom levels and include all data properties.

Last updated