Changeset 2654042
- Timestamp:
- 01/07/2022 09:40:19 AM (4 years ago)
- Location:
- nautic-pages/trunk
- Files:
-
- 2 edited
-
nautic_pages.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nautic-pages/trunk/nautic_pages.php
r2654031 r2654042 3 3 * Plugin Name: Nautic Pages 4 4 * Description: Nautical pages, maps, shortcodes. marinetraffic 5 * Plugin URI: http://bugacms.com/wpen/nauticPages 5 * Plugin URI: http://bugacms.com/wpen/nauticPages 6 6 * Author URI: https://profiles.wordpress.org/stur/ 7 7 * Author: stur -
nautic-pages/trunk/readme.txt
r2654031 r2654042 7 7 Tags: pages, marinetraffic, map, marine, see, port, sea port 8 8 == Description == 9 = marinetraffic = 10 Shortcode for the map https://www.marinetraffic.com/ru/p/embed-map - displays the position of vessels on the roadstead of the port 9 10 Shortcode for the map [marinetraffic](http://marinetraffic.com) - 11 displays the position of vessels on the roadstead of the port. 12 13 == Installation == 14 Use a shortcode: 15 16 `[np_marinetraffic_map latitude='37.4460' longitude='24.9467' /]` 17 18 or with description text: 11 19 12 20 `[np_marinetraffic_map latitude='37.4460' longitude='24.9467'] … … 14 22 [/np_marinetraffic_map] 15 23 ` 16 h4 ='Title for map' header for the map, you can use h4, h3, h2, h1 size 17 width='100%' the width of the embedded map in pixels or percentage 18 height='450' the height of the embedded map in pixels or percentage 19 border='1' the width of the border around the map (zero means no border) 20 shownames='false' to display ship names on the map (true or false) 21 latitude='37.4460' the latitude of the center of the map, in decimal degrees 22 longitude='24.9467' the longitude of the center of the map, in decimal degrees 23 zoom='9' the zoom level of the map (values between 2 and 17) 24 maptype='1' use 0 for Normal Map, 1 for Satellite 25 trackvessel='0' MMSI of a vessel (note: vessel will be displayed only if within range of the system) - overrides "zoom" option 26 fleet='' the registered email address of a user-defined fleet (user's default fleet is used) - overrides "zoom" option 27 help=1 help text 24 25 26 == Shortcode parameters == 27 **latitude**='37.4460' the latitude of the center of the map, in decimal degrees 28 **longitude**='24.9467' the longitude of the center of the map, in decimal degrees 29 30 **h4** ='Title for map' header for the map, you can use h4, h3, h2, h1 size 31 **width**='100%' the width of the embedded map in pixels or percentage 32 **height**='450' the height of the embedded map in pixels or percentage 33 **border**='1' the width of the border around the map (zero means no border) 34 **shownames**='false' to display ship names on the map (true or false) 35 **zoom=**'9' the zoom level of the map (values between 2 and 17) 36 **maptype**='1' use 0 for Normal Map, 1 for Satellite 37 **trackvessel**='0' MMSI of a vessel (note: vessel will be displayed only if within range of the system) - overrides "zoom" option 38 **fleet**='' the registered email address of a user-defined fleet (user's default fleet is used) - overrides "zoom" option 39 **help**=1 help text
Note: See TracChangeset
for help on using the changeset viewer.