Spot does not offer the storage of points free of charge for long term. That’s where Spotmap comes into the game:
Your WordPress Site will store all positions ever sent. It checks for new positions every 2.5 minutes.
It supports different devices (They can even belong to different accounts).
The map can fetch new points autmatically without relaoding the entire Post.
🆕 Support of Gutenberg block editor. Just type
/spotmap and open the settings on the right.
Currently only the GPX colors cannot be cahnged individually inside the block settings.
With a shortcode you can add an embedded map to your post or page. By default it will show all positions ever sent.
If needed the map can show a subset of the data. i.e. the last weekend getaway.
Next planned features (Not necessarily in right order):
grouping of points (partially implemented)
support of other tracking devices (Garmin InReach, …)
Translatable version of the plugin
Full support of the Spotmap block for Gutenberg
delete/move points from the Dashboard
export to gpx files
👉 If you feel like this plugin is missing importants part, let me know. Maybe I have some free time to change this fact. 😉
This plugin provides 1 block.
After installing the plugin, head over to your Dashboard
Settings > Spotmap. Add a feed by selecting
findmespot from the dropdown and hit “Add Feed”.
Now you can enter your XML Feed Id, a name for the feed and a password if you have one. Press “Save”. A few minutes later WordPress will download the points that are present in the XML Feed.
In the mean time you can create an empty map with the Shortcode:
If you use the block editor Gutenberg, you can search for a block named ‘Spotmap’.
🎉 Congrats! You just created your first Spotmap. 🎉
If you use the Block editor make sure to select the map and click on the settings icon in the top right corner, in order to see all settings related to the map.
If you use the shortcode,check the Additional attributes section.
👉 If you need help to configure your map, post a question in the support forum. 👈
If you add new maps, check the FAQ
To fine tune the map, there are some attributes we can pass with the shortcode:
Note: all the Default values of the attributes can be changed in the settings in Dashboard. This comes in handy, if you use several maps on the blog, and you like to configure them all in one place. Of course you can still use the attributes to overide the default values.
maps=opentopomapwill show only the opentopomap as map. Default
If you create a mapbox API Key and store it in the settings page. You can choose other map types as well:
Use it like this:
maps="mb-satelite,mb-streets,openstreetmap"This will show a satelite image as the selected map, but it can be changed to the other two maps (mb-streets, openstreetmap).
map-overlays=openseamapcan be added to see the openseamap overlay in the map. (You need to zoom in quite a bit).
height=600can define the height of the map in pixels.
width=fullif you add this the map will appear in full width. Default is
mapcenter=lastcan be used to zoom into the last known position. Default
all. Can be set to
'gpx'to center all GPX files (see below for configurations).
splitlines=8will split the lines between points if two points are sent with a difference greater than X hours. Default 12. Set to 0 if you don’t like to see any line.
date-range-from=2021-01-01can be used to show all points starting from date and time X. (Can lie in the future).
date-range-to=2022-01-01 19:00can be used to show all points until date and time X.
auto-reloadwill auto update the map without the need to reload the page. (This hasn’t been tested much…)
last-pointwill show the last sent point as big marker, to be easily found. Can also be used with a limited range of colors (yellow,red,green,black,gray,blue) like
feedscan be set, if multiple feeds get used. (See example below, if you have only one spot this is not needed)
The following attributes can be used to show GPX tracks:
gpx-name="Track 1,Track 2"give the tracks a nice name. (Spaces can be used)
gpx-url="yourwordpress.com/wp-content/track1.gpx,yourwordpress.com/wp-content/track2.gpx"specify the URL of the GPX files. (You can upload GPX files to your media library)
gpx-color="green,#347F33"give your tracks some color. (It can be any color you can think of, or some hex values)
If there are areas where tracks overlap each other, the track named first will be on top of the others.
feeds must always match your feed name.
This will show a bigger map and the points are all in yellow:
[spotmap height=600 width=full feeds="My Spot Feed" colors=yellow]
This will show a map where we zoom into the last known position, and we only show data from the the first of May:
[spotmap mapcenter=last feeds="My Spot" colors=red date-range-from="2020-05-01"]
We can also show multiple feeds in different colors on a same day (from 0:00:00 to 23:59:59):
[spotmap mapcenter=last feeds="My first spot,My other Device" colors="gray,green" date="2020-06-01"]
How do I get my Feed ID?
You need to create an XML Feed in your spot account. (See here for more details)
Unless you like to group devices under one name, it’s good to create one feed per device, so you can manage the devices independently.
Your XML Feed id should look similar to this:
Which 3rd Party Services are getting used?
The plugin uses the following thrid party services:
1. From SPOT LLC it uses the Public API to get the points.
2. (optionally) TimeZoneDB.com To calculate the localtime of sent positions. Create an account here. Paste the key in the settings page.
3. (optionally) Mapbox, Inc. To get satelite images and nice looking maps, you can sign up for a Mapbox API Token. I recommend to restrict the token usage to your domain only.
4. (optionally) Thunderforest To get another set of maps. Create an account here. Paste the key in the settings page.
5. (optionally) Land Information New Zealand (LINZ) To get the official Topo Maps of NZ create an account here. Paste the key in the settings page.
6. (optionally) Géoportail France To get the official Topo Maps of IGN France. Create an account here (french only). Paste the key in the settings page.
7. (optionally) UK Ordnance Survey To get the official UK OS maps. Create a free plan here. And follow this guide on how to create a project.
Can I use/add other maps?
Have you created your mapbox/thunderforest API key yet? If not this is a good way to start and get other map styles. See the question ‘Which 3rd Party Services are getting used?’ for details
If you still search for another map: Start a search here and also here.
If you have found a map, create a new post in the support forum.
I have a question, an idea, found a bug…
Head over to the wordpress.org support forum, and ask your question there. I’m happy to assist you! 😊
Contributors and Developers
“Spotmap” is open source software. The following people have contributed to this plugin.Contributors
- new marker styles and options how to configure them. Changeable icons
- maps with many points will load faster
- tested with WP 5.8
- Thirdparty API options page includes many comments to better understand what each service is for.
- new initial map state added: ‘last-trip’. Zooms to the last line on the map (In the feed settings splitlines must be activated to work)
- added UK Ordnance Survey
- added US Geological Survey maps
- possability to hide nearby points of the same type
- tested WordPress 5.7
- add last-point option to show the latest position as a big marker. (Requested by Elia)
- fix reload issue of the map inside Gutenberg if no changes were made
Full Gutenberg Block support
added France IGN Topo map token
- new shortcode to show table of messages
- add gpx overlays
- new maps available (mapbox, thunderforest, swisstopo)
- added support for multiple feeds
- filter for certain date ranges
- added a Gutenberg Block (still experimental!)