Skip to content

Spotmap is a Wordpress plugin that can show an embedded map with all the recent positions of a Spot beacon ๐Ÿ—บ๐Ÿ“

License

Notifications You must be signed in to change notification settings

techtimo/Spotmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—บ Spotmap

WordPress Plugin: Version WordPress Plugin: Tested WP Version

Spotmap is a Wordpress plugin that can show an embedded map with all the recent positions of a Spot beacon (findmespot.com). In addition it can display GPX tracks to show where you intend to go.

The following screenshot was taken after using the plugin for 3 months:

screen1

It is possible to change the underlayed map (will be configurable in future releases). You can interupt the line connecting all points with a time intervall. (Here it was set to 12hrs, so that the line stops if no new points were sent in 12 hours)

screen2

There is more you can do. Check the Usage section.

Installation

Just login to your Wordpress Dashboard and go to Dasboard > Plugins > Add New. Search for "Spotmap" and install the first search result. After installing the plugin you can head over to Settings > Spotmap and enter your Feed ID of your Spot Feed.

If you like to test out the newest Developement Version download the current master branch here.

Usage

After installing the plugin, head over to your Dashboard Settings > Spotmap. Add a feed by selecting findmespot from the dropdown and hit Save.

Now you can enter your XML Feed Id here and give it a nice name. Soon Wordpress will download the points that are present in the XML Feed.

If you use Gutenberg type /spotmap to create a new Spotmap block.

If you prefer shortcodes tpye [Spotmap]

Congrats ๐ŸŽ‰ You just created your own Spotmap.

There are some attributes we can parse with the Shortcode:

Note: feeds must always match your configured feed name.

This will show a bigger map and the points are all in yellow:

[spotmap height=600 width=full feeds=spot 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=spot colors=red date-range-from="2020-05-01"]

We can also show multiple tracks in different colors on a same day:

[spotmap mapcenter=last feeds=spot,spot2 colors=gray,green date="2020-06-01"]

FAQ

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: 0Wl3diTJcqqvncI6NNsoqJV5ygrFtQfBB

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. If you still search for another map search here and also here. If you have found a map, create a new post in the support forum.

About

Spotmap is a Wordpress plugin that can show an embedded map with all the recent positions of a Spot beacon ๐Ÿ—บ๐Ÿ“

Topics

Resources

License

Stars

Watchers

Forks