Changeset 2360280
- Timestamp:
- 08/13/2020 03:13:52 PM (6 years ago)
- File:
-
- 1 edited
-
spotmap/trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spotmap/trunk/readme.txt
r2360271 r2360280 20 20 21 21 Next planned features (Not necessarily in right order): 22 22 23 - grouping of points 24 23 25 - support of other tracking devices (Garmin InReach, ...) 26 24 27 - Translatable version of the plugin 28 25 29 - Full support of the Spotmap block for Gutenberg 30 26 31 - delete/move points from the Dashboard 32 27 33 - export to gpx files 28 34 29 If you feel like this plugin is missing importants part, let me know. Maybe I have some free time to change this fact. 😉35 👉 If you feel like this plugin is missing importants part, let me know. Maybe I have some free time to change this fact. 😉 30 36 31 37 … … 43 49 👉 If you need help to configure your map, post a question in the [support forum](https://wordpress.org/support/plugin/spotmap/). 👈 44 50 ### Additional attributes 45 **To fine tune the map, there are some attributes we can pass with the shortcode:** 51 52 To fine tune the map, there are some attributes we can pass with the shortcode: 53 54 _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. 55 56 #### Map 57 46 58 - `maps=opentopomap` will show only the opentopomap as map. Default `"openstreetmap,opentopomap"`. 47 59 If you create a mapbox API Key and store it in the settings page. You can choose other map types as well: `mb-outdoors,mb-streets,mb-satelite` 48 60 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). 61 49 62 - `map-overlays=openseamap` can be added to see the openseamap overlay in the map. (You need to zoom in quite a bit). 63 50 64 - `height=600` can define the height of the map in pixels. 65 51 66 - `width=full` if you add this the map will appear in full width. Default is `normal`. 67 52 68 - `mapcenter=last` can 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). 69 70 ### Feeds 71 53 72 - `splitlines=8` will 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. 73 54 74 - `date-range-from=2021-01-01` can be used to show all points starting from date and time X. (Can lie in the future). 75 55 76 - `date-range-to=2022-01-01 19:00` can be used to show all points until date and time X. 77 56 78 - `auto-reload=1` will auto update the map without the need to reload the page. 57 79 … … 59 81 60 82 - `feeds` can be set, if multiple feeds get used. (See example below) 83 61 84 #### GPX 62 85 **The following attributes can be used to show GPX tracks:** 86 63 87 - `gpx-name="Track 1,Track 2"` give the tracks a nice name. (Spaces can be used) 64 88 65 - `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 blog like an image)89 - `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 blog like an image) 66 90 67 91 - `gpx-color="green,#347F33"` give your tracks some color. (It can be any color you can think of, or some hex values) … … 69 93 If there are areas where tracks overlap each other, the track named first will be on top of the others. 70 94 71 _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.72 73 95 _Note:_ `feeds` must always match your feed name. 74 96 This will show a bigger map and the points are all in yellow: 75 97 76 `[spotmap height=600 width=full feeds=spot colors=yellow]` 77 98 `[spotmap height=600 width=full feeds="My Spot Feed" colors=yellow]` 78 99 79 100 This will show a map where we zoom into the last known position, and we only show data from the the first of May: 80 101 81 `[spotmap mapcenter=last feeds= spotcolors=red date-range-from="2020-05-01"]`102 `[spotmap mapcenter=last feeds="My Spot" colors=red date-range-from="2020-05-01"]` 82 103 83 104 84 105 We can also show multiple feeds in different colors on a same day: 85 106 86 `[spotmap mapcenter=last feeds= spot,spot2 colors=gray,greendate="2020-06-01"]`107 `[spotmap mapcenter=last feeds="My first spot,My other Device" colors="gray,green" date="2020-06-01"]` 87 108 88 109 … … 149 170 = 0.3 = 150 171 This version fixes a security related bug. Upgrade immediately. 151 152 ## My custom area
Note: See TracChangeset
for help on using the changeset viewer.