Plugin Directory

Changeset 2360280


Ignore:
Timestamp:
08/13/2020 03:13:52 PM (6 years ago)
Author:
techtimo
Message:

Updating readme/assets from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spotmap/trunk/readme.txt

    r2360271 r2360280  
    2020
    2121Next planned features (Not necessarily in right order):
     22
    2223- grouping of points
     24
    2325- support of other tracking devices (Garmin InReach, ...)
     26
    2427- Translatable version of the plugin
     28
    2529- Full support of the Spotmap block for Gutenberg
     30
    2631- delete/move points from the Dashboard
     32
    2733- export to gpx files
    2834
    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. 😉
    3036
    3137
     
    4349👉 If you need help to configure your map, post a question in the [support forum](https://wordpress.org/support/plugin/spotmap/). 👈
    4450### Additional attributes
    45 **To fine tune the map, there are some attributes we can pass with the shortcode:**
     51
     52To 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
    4658- `maps=opentopomap` will show only the opentopomap as map. Default `"openstreetmap,opentopomap"`.
    4759  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`
    4860  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
    4962- `map-overlays=openseamap` can be added to see the openseamap overlay in the map. (You need to zoom in quite a bit).
     63
    5064- `height=600` can define the height of the map in pixels.
     65
    5166- `width=full` if you add this the map will appear in full width. Default is `normal`.
     67
    5268- `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
    5372- `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
    5474- `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
    5576- `date-range-to=2022-01-01 19:00` can be used to show all points until date and time X.
     77
    5678- `auto-reload=1` will auto update the map without the need to reload the page.
    5779
     
    5981
    6082- `feeds` can be set, if multiple feeds get used. (See example below)
     83
    6184#### GPX
    6285**The following attributes can be used to show GPX tracks:**
     86
    6387- `gpx-name="Track 1,Track 2"` give the tracks a nice name. (Spaces can be used)
    6488
    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)
    6690
    6791- `gpx-color="green,#347F33"` give your tracks some color. (It can be any color you can think of, or some hex values)
     
    6993If there are areas where tracks overlap each other, the track named first will be on top of the others.
    7094
    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 
    7395_Note:_ `feeds` must always match your feed name.
    7496This will show a bigger map and the points are all in yellow:
    7597
    76 `[spotmap height=600 width=full feeds=spot colors=yellow]`
    77 
     98`[spotmap height=600 width=full feeds="My Spot Feed" colors=yellow]`
    7899
    79100This will show a map where we zoom into the last known position, and we only show data from the the first of May:
    80101
    81 `[spotmap mapcenter=last feeds=spot colors=red date-range-from="2020-05-01"]`
     102`[spotmap mapcenter=last feeds="My Spot" colors=red date-range-from="2020-05-01"]`
    82103
    83104
    84105We can also show multiple feeds in different colors on a same day:
    85106
    86 `[spotmap mapcenter=last feeds=spot,spot2 colors=gray,green date="2020-06-01"]`
     107`[spotmap mapcenter=last feeds="My first spot,My other Device" colors="gray,green" date="2020-06-01"]`
    87108
    88109
     
    149170= 0.3 =
    150171This version fixes a security related bug.  Upgrade immediately.
    151 
    152 ## My custom area
Note: See TracChangeset for help on using the changeset viewer.