



{"id":3356,"date":"2015-08-22T14:17:16","date_gmt":"2015-08-22T14:17:16","guid":{"rendered":"http:\/\/johnjohnston.info\/blog\/?p=3356"},"modified":"2016-06-09T20:46:17","modified_gmt":"2016-06-09T20:46:17","slug":"loch-oss-ben-oss","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/","title":{"rendered":"Loch Oss &#038; Ben Oss"},"content":{"rendered":"\n        <div id=\"map_ol3js_1\"\n       class=\"osm-map-container undefined\"\n             data-map_name=\"undefined\"\n             data-map=\"map_ol3js_1\"\n             data-autoshow=\"no\"\n             style=\"width:100%;\n                    max-width:100%;\n                    height:450px;\n                    display:block;\n                    overflow:hidden;\n                    border:2px solid grey;\">\n          <div id=\"map_ol3js_1_popup\" class=\"ol-popup\">\n            <a href=\"#\" id=\"map_ol3js_1_popup-closer\" class=\"ol-popup-closer\"><\/a>\n            <div id=\"map_ol3js_1_popup-content\"><\/div>\n          <\/div>\n        <\/div>\n    \n\n\t\t\t\t<script type=\"text\/javascript\">\n          translations['openlayer'] = \"open layer\";\n          translations['openlayerAtStartup'] = \"open layer at startup\";\n          translations['generateLink'] = \"link to this map with opened layers\";\n          translations['shortDescription'] = \"short description\";\n          translations['generatedShortCode'] = \"to get a text control link paste this code in your wordpress editor\";\n          translations['closeLayer'] = \"close layer\";\n          translations['cantGenerateLink'] = \"put this string in the existing map short code to control this map\";\n\t\t\t  <\/script>\n\n\n\t\t\t  <script type=\"text\/javascript\">\n\t\t\t  vectorM['map_ol3js_1'] = [];\n\t        \n        var raster = getTileLayer(\"osm\",\"NoKey\");\t\t\t\n\n\t\t\t  var map_ol3js_1 = new ol.Map({\n\t\t\t\tinteractions: ol.interaction.defaults.defaults({mouseWheelZoom:false}),\n\t\t\t\tlayers: [raster],\n\t\t\t\ttarget: \"map_ol3js_1\",\n\t\t\t\tview: new ol.View({\n\t\t\t\t  center: ol.proj.transform([-4.727,56.379], \"EPSG:4326\", \"EPSG:3857\"),\n\t\t\t\t  zoom: 12\n\t\t\t\t})\n\t\t\t  });\n\t\t\t  \n    var style_map_ol3js_1_0 = {\n      \"Point\": [new ol.style.Style({\n\n          image: new ol.style.Icon({\n            anchor: [0.5, 41],\n            anchorXUnits: \"fraction\",\n            anchorYUnits: \"pixels\",\n            opacity: 0.75,\n            src: \"https:\/\/johnjohnston.info\/blog\/wp-content\/plugins\/osm\/icons\/mic_blue_pinother_02.png\"\n          })\n      })],\n\n      \"LineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"blue\",\n          width: 8\n        })\n      })],\n      \"MultiLineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"blue\",\n          width: 4\n        })\n      })]\n    };\n\t\t  var vectorL0 = new ol.layer.Vector({\n\t\t\t\tsource: new ol.source.Vector({\n\t\t\t\turl:\"\/blog\/wp-content\/uploads\/2015\/08\/been-oss-loch-oss.gpx\",\n\t\t\t\tformat: new ol.format.GPX({\n\t\t\t\t\textractStyles: false\n\t\t\t\t})\n\t\t\t}),\n\t\t\tzIndex: 92,\n\t\t\tstyle: function(feature, resolution) {return style_map_ol3js_1_0[feature.getGeometry().getType()];}\n\t\t  });\n\t\t  map_ol3js_1.addLayer(vectorL0);addControls2Map(map_ol3js_1,0,0,3,0,5,6,7,0,1);\nosm_addPopupClickhandler(map_ol3js_1,  \"map_ol3js_1\"); \nosm_addMouseHover(map_ol3js_1); <\/script>\n<div data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/&quot;}' id='gallery-1' class='gallery galleryid-3356 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail u-featured\" alt=\"\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-150x150.jpg 150w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" data-attachment-id=\"3360\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_2690\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690.jpg\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_2690\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-1024x768.jpg\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2691.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2691-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2691-150x150.jpg 150w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2691-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" data-attachment-id=\"3361\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_2691\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2691.jpg\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_2691\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2691-1024x768.jpg\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2727.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2727-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2727-150x150.jpg 150w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2727-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" data-attachment-id=\"3362\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_2727\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2727.jpg\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_2727\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2727-1024x768.jpg\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-150x150.jpg 150w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-620x620.jpg 620w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-1024x1024.jpg 1024w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-668x668.jpg 668w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-50x50.jpg 50w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767.jpg 1280w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" data-attachment-id=\"3364\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_2767\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767.jpg\" data-orig-size=\"1280,1280\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_2767\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2767-1024x1024.jpg\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2771.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2771-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2771-150x150.jpg 150w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2771-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" data-attachment-id=\"3365\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_2771\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2771.jpg\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_2771\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2771-1024x768.jpg\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_5362.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_5362-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_5362-150x150.jpg 150w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_5362-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" data-attachment-id=\"3366\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_5362\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_5362.jpg\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_5362\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_5362-1024x768.jpg\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\n<p>I am testing the <a href=\"http:\/\/wp-osm-plugin.hanblog.net\/\">WP-OSM-Plugin<\/a> I was hoping that the map would show the photos on markers as well as the GPX track I&#8217;ve uploaded. There is an example: <a href=\"http:\/\/wp-osm-plugin.hanblog.net\/tutorial\/exif-test-page\/\">EXIF-Test-page | WordPress OpenStreetMap Plugin<\/a><\/p>\n<p>The shortcode I am using looks ok to me and the photos are geotagged. I added a fullsized one because the thumbnails are stripped of geo-tags. So I expected the one big photo to show up at least&#8230;.<\/p>\n<p>[osm_map_v3 map_center=\"56.379,-4.727\" zoom=\"12\" width=\"100%\" height=\"450\" file_list=\"\/blog\/wp-content\/uploads\/2015\/08\/been-oss-loch-oss.gpx\" import=\"exif_m\" marker_name=\"mic_black_camera_01.png\"]<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3360\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/loch-oss-ben-oss\/img_2690\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690.jpg\" data-orig-size=\"1280,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_2690\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-1024x768.jpg\" class=\"aligncenter size-full wp-image-3360\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690.jpg\" alt=\"IMG_2690\" width=\"1280\" height=\"960\" srcset=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690.jpg 1280w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-620x465.jpg 620w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-1024x768.jpg 1024w, https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2015\/08\/IMG_2690-668x501.jpg 668w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am testing the WP-OSM-Plugin I was hoping that the map would show the photos on markers as well as the GPX track I&#8217;ve uploaded. There is an example: EXIF-Test-page | WordPress OpenStreetMap Plugin The shortcode I am using looks ok to me and the photos are geotagged. I added a fullsized one because the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[259,382,262,197,131,492],"post_format":[],"class_list":{"0":"post-3356","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-wwwd","7":"tag-geo","8":"tag-geoblogging","9":"tag-geotagging","10":"tag-maps","11":"tag-mobile","12":"tag-osm","13":"kind-article","15":"h-entry","16":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-S8","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/3356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=3356"}],"version-history":[{"count":11,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/3356\/revisions"}],"predecessor-version":[{"id":3605,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/3356\/revisions\/3605"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=3356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=3356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=3356"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=3356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}