Changeset 3281719
- Timestamp:
- 04/25/2025 10:13:42 AM (12 months ago)
- Location:
- os-datahub-maps/trunk
- Files:
-
- 4 edited
-
Changelog.txt (modified) (1 diff)
-
Readme.txt (modified) (3 diffs)
-
js/os-datahub-maps.js (modified) (1 diff)
-
os-datahub-maps.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
os-datahub-maps/trunk/Changelog.txt
r3254814 r3281719 1 1 == Changelog == 2 3 = 1.8.2 = 4 Change: Catch malformed location in marker position. 2 5 3 6 = 1.8.1 = -
os-datahub-maps/trunk/Readme.txt
r3254814 r3281719 4 4 Requires PHP: 5.6.0 5 5 Requires at least: 4.5 6 Tested up to: 6. 77 Stable tag: 1.8. 16 Tested up to: 6.8 7 Stable tag: 1.8.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == Changelog == 72 72 73 = 1.8. 1=74 Bug: Fix issue with elevation profile appear on top of fullscreen map on iOS.73 = 1.8.2 = 74 Change: Catch malformed location in marker position. 75 75 76 76 For previous versions please refer to Changelog.txt … … 78 78 == Upgrade Notice == 79 79 80 = 1.8. 1=81 Fix fullscreen issue on iOS 80 = 1.8.2 = 81 Catch malformed location in marker position -
os-datahub-maps/trunk/js/os-datahub-maps.js
r3027663 r3281719 208 208 if (typeof options.markerList === 'object') { 209 209 options.markerList.forEach(function(marker) { 210 const newLayer = L.marker(convertCoordinates(marker.position)); 211 if (marker.color !== '') { 212 newLayer.setIcon(getColorMarker(marker.color)); 213 } 214 loadLayer(newLayer, marker.group, ''); 215 if (marker.text !== '') { 216 addPopup(newLayer, marker.text); 217 } 218 markerSet.push(newLayer); 210 const location = convertCoordinates(marker.position); 211 if (location !== null) { 212 const newLayer = L.marker(convertCoordinates(marker.position)); 213 if (marker.color !== '') { 214 newLayer.setIcon(getColorMarker(marker.color)); 215 } 216 loadLayer(newLayer, marker.group, ''); 217 if (marker.text !== '') { 218 addPopup(newLayer, marker.text); 219 } 220 markerSet.push(newLayer); 221 } 219 222 }); 220 223 } -
os-datahub-maps/trunk/os-datahub-maps.php
r3254814 r3281719 5 5 * Plugin URI: https://skirridsystems.co.uk/os-datahub-maps/ 6 6 * Description: Plugin for displaying OS Maps using the Data Hub Maps API. 7 * Version: 1.8. 17 * Version: 1.8.2 8 8 * Author: Simon Large 9 9 * Author URI: https://skirridsystems.co.uk/ … … 20 20 * Plugin version used for cache busting 21 21 */ 22 define( 'OS_DATAHUB_MAPS_VERSION', '1.8. 1' );22 define( 'OS_DATAHUB_MAPS_VERSION', '1.8.2' ); 23 23 24 24 /**
Note: See TracChangeset
for help on using the changeset viewer.