<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>South Africa &#8211; Galago Travel</title>
	<atom:link href="https://galagotravel.co.uk/category/destinations/south-africa/feed" rel="self" type="application/rss+xml" />
	<link>https://galagotravel.co.uk/category/destinations/south-africa</link>
	<description>Worldwide Wildlife Adventures &#38; African Safaris</description>
	<lastBuildDate>Thu, 30 Mar 2023 15:41:33 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>The Greater Kruger</title>
		<link>https://galagotravel.co.uk/destinations/south-africa/the-greater-kruger</link>
					<comments>https://galagotravel.co.uk/destinations/south-africa/the-greater-kruger#respond</comments>
		
		<dc:creator><![CDATA[kenny]]></dc:creator>
		<pubDate>Fri, 27 Jan 2023 15:30:17 +0000</pubDate>
				<category><![CDATA[South Africa]]></category>
		<category><![CDATA[Kruger National Park]]></category>
		<category><![CDATA[Sabi Sands]]></category>
		<category><![CDATA[South African Safari]]></category>
		<category><![CDATA[Popular Destinations]]></category>
		<guid isPermaLink="false">https://galagotravel.co.uk/?p=965</guid>

					<description><![CDATA[<p>One of the birthplaces of the modern Safari, the Greater Kruger Region offers some of the best wildlife viewing in the world. The Kruger National Park is one of South Africa’s largest and most well known National Parks – being the size of Wales. Whilst the game viewing here is excellent inside the park, we [&#8230;]</p>
<p>The post <a href="https://galagotravel.co.uk/destinations/south-africa/the-greater-kruger">The Greater Kruger</a> appeared first on <a href="https://galagotravel.co.uk">Galago Travel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div id="pl-965"  class="panel-layout" ><div id="pg-965-0"  class="panel-grid panel-has-style" ><div class="c-row--margin-default c-row--column-default panel-row-style panel-row-style-for-965-0" ><div id="pgc-965-0-0"  class="panel-grid-cell" ><div id="panel-965-0-0-0" class="so-panel widget widget_sow-image-grid panel-first-child panel-last-child" data-index="0" ><div class="so-widget-sow-image-grid so-widget-sow-image-grid-default-3cf8946c8151">

<div class="c-image-grid   no-variation no-layout "><div class="c-image-grid__item  large-4 medium-4 small-12"><div class="crop">

							<div class="c-image-grid__image" 
								style="
									background-position-x: 50%;
									background-position-y: 50%;
									background-image: url(https://galagotravel.co.uk/wp-content/uploads/2023/01/Leopard-9-2-2.webp)
								">
							</div>

						</div></div><div class="c-image-grid__item  large-4 medium-4 small-12"><div class="crop">

							<div class="c-image-grid__image" 
								style="
									background-position-x: 50%;
									background-position-y: 50%;
									background-image: url(https://galagotravel.co.uk/wp-content/uploads/2023/01/Giraffe-1-3-2.webp)
								">
							</div>

						</div></div><div class="c-image-grid__item  large-4 medium-4 small-12"><div class="crop">

							<div class="c-image-grid__image" 
								style="
									background-position-x: 50%;
									background-position-y: 50%;
									background-image: url(https://galagotravel.co.uk/wp-content/uploads/2023/01/Leopard-on-Rock-2.webp)
								">
							</div>

						</div></div></div></div></div></div></div></div><div id="pg-965-1"  class="panel-grid panel-has-style" ><div class="c-row--margin-smedium c-row--column-default panel-row-style panel-row-style-for-965-1" ><div id="pgc-965-1-0"  class="panel-grid-cell" ><div id="panel-965-1-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="1" ><div class="so-widget-sow-editor so-widget-sow-editor-base">
<div class="c-text no-variation no-layout no-variation ">

	
			<div class="c-text__content"><p>One of the birthplaces of the modern Safari, the Greater Kruger Region offers some of the best wildlife viewing in the world. The Kruger National Park is one of South Africa’s largest and most well known National Parks – being the size of Wales. Whilst the game viewing here is excellent inside the park, we feel that the best and most exclusive of experiences are to be had on the private game reserves which border the Park’s eastern edge. Here, game moves freely between the park andthe private reserves, whilst at the same time there are far fewer vehicles, and opportunities to get close to wildlife. These reserves include the world renowned Sabi Sands and Timabavati Reserves as well as the Klaserie Nature Reserve, Thornybush Game Reserve and the Manyeleti Game Reserve.</p>
<p>These reserves and the home to the Big Five – and it is possible to see them all in one day. These reserves have also become recently renowned for incredible Leopard sightings as well as also having a relatively healthy population of the endangered African Wild Dogs.</p>
</div>
    
</div>
</div></div></div></div></div><div id="pg-965-2"  class="panel-grid panel-has-style" ><div class="c-row--margin-small c-row--column-default panel-row-style panel-row-style-for-965-2" ><div id="pgc-965-2-0"  class="panel-grid-cell" ><div id="panel-965-2-0-0" class="so-panel widget widget_sow-headline panel-first-child panel-last-child" data-index="2" ><div class="so-widget-sow-headline so-widget-sow-headline-default-b209e37e7be4">
<div class="c-heading  no-variation  no-variation no-layout">
	<h3 class='c-heading__heading'>When to go:</h3></div></div></div></div></div></div><div id="pg-965-3"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default panel-row-style panel-row-style-for-965-3" ><div id="pgc-965-3-0"  class="panel-grid-cell" ><div id="panel-965-3-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="3" ><div class="so-widget-sow-editor so-widget-sow-editor-base">
<div class="c-text no-variation no-layout no-variation ">

	
			<div class="c-text__content"><p>The Kruger area can be visited at any time of the year, but the best game viewing to be had is during the dry season which runs from May through to October.</p>
</div>
    
</div>
</div></div></div></div></div><div id="pg-965-4"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default panel-row-style panel-row-style-for-965-4" ><div id="pgc-965-4-0"  class="panel-grid-cell" ><div id="panel-965-4-0-0" class="so-panel widget widget_sow-button panel-first-child panel-last-child" data-index="4" ><div class="so-widget-sow-button so-widget-sow-button-atom-d75171398898"><div class="c-buttons c-buttons--horizontal-align-centre no-variation no-layout">
		<a class="c-button default-text no-variation " href="/category/greater-kruger-camps"> Camps </a>
		<a class="c-button default-text c-button--hollow " href="https://galagotravel.co.uk/contact-us"> Contact us </a></div></div></div></div></div></div><div id="pg-965-5"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default siteorigin-panels-stretch panel-row-style panel-row-style-for-965-5" data-stretch-type="full-stretched" ><div id="pgc-965-5-0"  class="panel-grid-cell" ><div id="panel-965-5-0-0" class="so-panel widget widget_sow-snazzy-maps panel-first-child panel-last-child" data-index="5" ><div class="so-widget-sow-snazzy-maps so-widget-sow-snazzy-maps-default-d75171398898">
<script type="text/javascript" id="snazzy-google-api" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBj0eBxQ1zGM-hCazW7lPp_L_OEEGYhsvo"></script>
<script type="text/javascript" id="snazzy-cluster" src="https://unpkg.com/@googlemaps/markerclusterer/dist/index.min.js"></script>

<link rel='stylesheet' id='snazzy-css' href='https://galagotravel.co.uk/wp-content/plugins/hx-core-widgets/widgets/snazzy-maps/css/snazzy-info-window.min.css' type='text/css' media='all' />


<div class="c-interactive-map full-width-map">
    <div class="c-interactive-map__anchor" id="map-canvas"></div>
    
    
    <div class="c-interactive-map__canvas"></div>
</div>

<script type="text/javascript">
    var markers;
    var map;

    function initMap() {
        map = new google.maps.Map(document.querySelector('.c-interactive-map__canvas'), {
            zoom: 5,
            center: {
                lat: -24.930581,
                lng: 31.500427            }
        });

        var infoWin = new google.maps.InfoWindow();

        var markerIcon = {
            path: 'M22.5,-8.17124146e-14 C10.1609334,-0.000616968601 0.123390651,9.93655035 0,22.275 C0,37.6875 19.828125,54.84375 20.671875,55.575 C21.72438,56.4752467 23.27562,56.4752467 24.328125,55.575 C25.3125,54.84375 45,37.6875 45,22.275 C44.8766093,9.93655035 34.8390666,-0.000616968601 22.5,-8.17124146e-14 Z',
            fillColor: '#b97731',
            fillOpacity: 0.95,
            scale: .75,
            strokeColor: '#b97731',
            strokeWeight: 1,
            anchor: new google.maps.Point(12, 24)
        };

        markers = locations.map(function(location) {
            var marker = new google.maps.Marker({
                position: location,
                icon: markerIcon
            });

            google.maps.event.addListener(marker, 'mouseover', function() {
                infoWin.setContent(location.info);
                infoWin.open(map, marker);
            });
            return marker;
        });

		// Ensure MarkerClusterer is defined before using it
		if (typeof markerClusterer !== 'undefined' && typeof markerClusterer.MarkerClusterer !== 'undefined') {
			new markerClusterer.MarkerClusterer({ map, markers });
		} else {
			console.error("MarkerClusterer is not defined");
		}
    }

    var locations = [
                        {
            lat: -24.930581,
            lng: 31.500427,
            info: '<div class="c-interactive-map__info-window"><h3 class="c-interactive-map__subheading">The Greater Kruger </h3>One of the birthplaces of the modern Safari, the Greater Kruger Region offers some of the best wildlife viewing in the world. The Kruger National Park is one of South Africa\u2019s largest and most well known National Parks \u2013 being the size of Wales. Whilst the game viewing here is excellent inside the park, we feel that the best and most exclusive of experiences are to be had on the private game reserves which border the Park\u2019s eastern edge.</div>'
        },
            ];

    // Load the map once the DOM is fully loaded
    document.addEventListener("DOMContentLoaded", function() {
        google.maps.event.addDomListener(window, "load", initMap);
    });

    function myClick(id) {
        map.setCenter(markers[id].getPosition());
        map.setZoom(5);
        google.maps.event.trigger(markers[id], 'mouseover');
    }

    // get current location
    function geoFindMe() {
        const status = document.querySelector('#status');
        const mapLink = document.querySelector('#map-link');

        mapLink.textContent = '';

        function success(position) {
            const latitude = position.coords.latitude;
            const longitude = position.coords.longitude;

            status.textContent = '';
            mapLink.textContent = `LatLong(${latitude}, ${longitude})`;
        }

        function error() {
            status.textContent = 'Unable to retrieve your location';
        }

        if (!navigator.geolocation) {
            status.textContent = 'Geolocation is not supported by your browser';
        } else {
            status.textContent = 'Locating…';
            navigator.geolocation.getCurrentPosition(success, error);
        }
    }

    document.querySelector('#find-me').addEventListener('click', geoFindMe);

    // get location calculate distance between two points
    
    function toRad(v) { return v * Math.PI / 180; }
    function kmToMiles(km) { return (km * 0.62137).toFixed(2); }

		navigator.geolocation.getCurrentPosition(function(position) {
			const latitude  = position.coords.latitude;
			const longitude = position.coords.longitude;
			console.log(latitude, longitude);

			// current location
			var l1 = 	LatLong(latitude, longitude);

			// location of each shop
			var l2	=	LatLong(-24.930581, 31.500427);
			

			function LatLong(lat, lon) {
				return {Latitude: lat, Longitude: lon}
			}

			function haversine(l1, l2) {
				var R = 6371; // km 
				var x1 = l2.Latitude-l1.Latitude;
				var dLat = toRad(x1);  
				var x2 = l2.Longitude-l1.Longitude;
				var dLon = toRad(x2);  
				var a = Math.sin(dLat/2) * Math.sin(dLat/2) + 
						Math.cos(toRad(l1.Latitude)) * Math.cos(toRad(l2.Latitude)) * 
						Math.sin(dLon/2) * Math.sin(dLon/2);  
				var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); 
				var d = R * c;
				return d;
			}

			document.getElementById("distance-0").innerHTML = kmToMiles(haversine(l1, l2))+' miles <span>from location</span>';
		});

		
</script></div></div></div></div></div></div><p>The post <a href="https://galagotravel.co.uk/destinations/south-africa/the-greater-kruger">The Greater Kruger</a> appeared first on <a href="https://galagotravel.co.uk">Galago Travel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://galagotravel.co.uk/destinations/south-africa/the-greater-kruger/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Cape Town &#038; Surrounds</title>
		<link>https://galagotravel.co.uk/destinations/south-africa/capetown</link>
					<comments>https://galagotravel.co.uk/destinations/south-africa/capetown#respond</comments>
		
		<dc:creator><![CDATA[kenny]]></dc:creator>
		<pubDate>Wed, 18 Jan 2023 10:32:42 +0000</pubDate>
				<category><![CDATA[South Africa]]></category>
		<category><![CDATA[Cape Town]]></category>
		<category><![CDATA[Franschoek]]></category>
		<guid isPermaLink="false">https://galagotravel.co.uk/?p=782</guid>

					<description><![CDATA[<p>Undoubtedly one of the most beautiful cities in the world, with Table Mountain as its backdrop, Cape Town offers something for everyone and can be a great addition to anyone’s safari to Southern Africa. From Penguin colonies to exquisite cuisine and some of the best wine in the world, Cape Town is an wonderful cosmopolitan [&#8230;]</p>
<p>The post <a href="https://galagotravel.co.uk/destinations/south-africa/capetown">Cape Town &#038; Surrounds</a> appeared first on <a href="https://galagotravel.co.uk">Galago Travel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div id="pl-782"  class="panel-layout" ><div id="pg-782-0"  class="panel-grid panel-has-style" ><div class="c-row--margin-default c-row--column-default panel-row-style panel-row-style-for-782-0" ><div id="pgc-782-0-0"  class="panel-grid-cell" ><div id="panel-782-0-0-0" class="so-panel widget widget_sow-image-grid panel-first-child panel-last-child" data-index="0" ><div class="so-widget-sow-image-grid so-widget-sow-image-grid-default-3cf8946c8151">

<div class="c-image-grid   no-variation no-layout "><div class="c-image-grid__item  large-4 medium-4 small-12"><div class="crop">

							<div class="c-image-grid__image" 
								style="
									background-position-x: 50%;
									background-position-y: 50%;
									background-image: url(https://galagotravel.co.uk/wp-content/uploads/2023/01/IMG_3048-2-2.webp)
								">
							</div>

						</div></div><div class="c-image-grid__item  large-4 medium-4 small-12"><div class="crop">

							<div class="c-image-grid__image" 
								style="
									background-position-x: 50%;
									background-position-y: 50%;
									background-image: url(https://galagotravel.co.uk/wp-content/uploads/2023/01/IMG_6387-2-2-2.webp)
								">
							</div>

						</div></div><div class="c-image-grid__item  large-4 medium-4 small-12"><div class="crop">

							<div class="c-image-grid__image" 
								style="
									background-position-x: 50%;
									background-position-y: 50%;
									background-image: url(https://galagotravel.co.uk/wp-content/uploads/2023/01/IMG_7324-2.jpg)
								">
							</div>

						</div></div></div></div></div></div></div></div><div id="pg-782-1"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default panel-row-style panel-row-style-for-782-1" ><div id="pgc-782-1-0"  class="panel-grid-cell" ><div id="panel-782-1-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="1" ><div class="so-widget-sow-editor so-widget-sow-editor-base">
<div class="c-text no-variation no-layout no-variation ">

	
			<div class="c-text__content"><p>Undoubtedly one of the most beautiful cities in the world, with Table Mountain as its backdrop, Cape Town offers something for everyone and can be a great addition to anyone’s safari to Southern Africa.</p>
<p>From Penguin colonies to exquisite cuisine and some of the best wine in the world, Cape Town is an wonderful cosmopolitan city. There are so many things to do in Cape Town and there is a place to stay for everyone – from Chic Boutique hotels to some great Bed and Breakfasts.</p>
<p>&nbsp;</p>
<p><u>Activities:</u></p>
<p>•Go Up Table Mountain (get the Cable Car or if you’re feeling adventurous – hike up it!)</p>
<p>•Visit the stunning Kirstenbosch Botanical Gardens</p>
<p>•Visit the Penguin Colony at Boulders Beach</p>
<p>•Travel to the Cape Point and the Cape of Good Hope</p>
<p>•Dine on the V&amp;A Waterfront</p>
<p>•Visit the museum on Robben Island</p>
<p>•Visit some of the incredible wine farms and vineyards in Stellenbosch and Franschoek</p>
<p>•Go on the Wine Tram in Franschoek</p>
<p>•Go Whale Watching or Shark Cage Diving in Hermanus</p>
</div>
    
</div>
</div></div></div></div></div><div id="pg-782-2"  class="panel-grid panel-has-style" ><div class="c-row--margin-small c-row--column-default panel-row-style panel-row-style-for-782-2" ><div id="pgc-782-2-0"  class="panel-grid-cell" ><div id="panel-782-2-0-0" class="so-panel widget widget_sow-headline panel-first-child panel-last-child" data-index="2" ><div class="so-widget-sow-headline so-widget-sow-headline-default-b209e37e7be4">
<div class="c-heading  no-variation  no-variation no-layout">
	<h3 class='c-heading__heading'>When to go:</h3></div></div></div></div></div></div><div id="pg-782-3"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default panel-row-style panel-row-style-for-782-3" ><div id="pgc-782-3-0"  class="panel-grid-cell" ><div id="panel-782-3-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="3" ><div class="so-widget-sow-editor so-widget-sow-editor-base">
<div class="c-text no-variation no-layout no-variation ">

	
			<div class="c-text__content"><p>Cape Town is a fantastic city whenever you go. It has a long, hot summer from November to March. However, it can be cool, wet and windy during the winter months of June, July and August.</p>
</div>
    
</div>
</div></div></div></div></div><div id="pg-782-4"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default panel-row-style panel-row-style-for-782-4" ><div id="pgc-782-4-0"  class="panel-grid-cell" ><div id="panel-782-4-0-0" class="so-panel widget widget_sow-button panel-first-child panel-last-child" data-index="4" ><div class="so-widget-sow-button so-widget-sow-button-atom-d75171398898"><div class="c-buttons c-buttons--horizontal-align-centre no-variation no-layout">
		<a class="c-button default-text no-variation " href="#"> Accommodation </a>
		<a class="c-button default-text c-button--hollow " href="https://galagotravel.co.uk/contact-us"> Contact us </a></div></div></div></div></div></div><div id="pg-782-5"  class="panel-grid panel-has-style" ><div class="c-row--margin-large c-row--column-default siteorigin-panels-stretch panel-row-style panel-row-style-for-782-5" data-stretch-type="full-stretched" ><div id="pgc-782-5-0"  class="panel-grid-cell" ><div id="panel-782-5-0-0" class="so-panel widget widget_sow-snazzy-maps panel-first-child panel-last-child" data-index="5" ><div class="so-widget-sow-snazzy-maps so-widget-sow-snazzy-maps-default-d75171398898">
<script type="text/javascript" id="snazzy-google-api" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBj0eBxQ1zGM-hCazW7lPp_L_OEEGYhsvo"></script>
<script type="text/javascript" id="snazzy-cluster" src="https://unpkg.com/@googlemaps/markerclusterer/dist/index.min.js"></script>

<link rel='stylesheet' id='snazzy-css' href='https://galagotravel.co.uk/wp-content/plugins/hx-core-widgets/widgets/snazzy-maps/css/snazzy-info-window.min.css' type='text/css' media='all' />


<div class="c-interactive-map full-width-map">
    <div class="c-interactive-map__anchor" id="map-canvas"></div>
    
    
    <div class="c-interactive-map__canvas"></div>
</div>

<script type="text/javascript">
    var markers;
    var map;

    function initMap() {
        map = new google.maps.Map(document.querySelector('.c-interactive-map__canvas'), {
            zoom: 5,
            center: {
                lat: -33.913079,
                lng: 18.425338            }
        });

        var infoWin = new google.maps.InfoWindow();

        var markerIcon = {
            path: 'M22.5,-8.17124146e-14 C10.1609334,-0.000616968601 0.123390651,9.93655035 0,22.275 C0,37.6875 19.828125,54.84375 20.671875,55.575 C21.72438,56.4752467 23.27562,56.4752467 24.328125,55.575 C25.3125,54.84375 45,37.6875 45,22.275 C44.8766093,9.93655035 34.8390666,-0.000616968601 22.5,-8.17124146e-14 Z',
            fillColor: '#b97731',
            fillOpacity: 0.95,
            scale: .75,
            strokeColor: '#b97731',
            strokeWeight: 1,
            anchor: new google.maps.Point(12, 24)
        };

        markers = locations.map(function(location) {
            var marker = new google.maps.Marker({
                position: location,
                icon: markerIcon
            });

            google.maps.event.addListener(marker, 'mouseover', function() {
                infoWin.setContent(location.info);
                infoWin.open(map, marker);
            });
            return marker;
        });

		// Ensure MarkerClusterer is defined before using it
		if (typeof markerClusterer !== 'undefined' && typeof markerClusterer.MarkerClusterer !== 'undefined') {
			new markerClusterer.MarkerClusterer({ map, markers });
		} else {
			console.error("MarkerClusterer is not defined");
		}
    }

    var locations = [
                        {
            lat: -33.913079,
            lng: 18.425338,
            info: '<div class="c-interactive-map__info-window"><h3 class="c-interactive-map__subheading">Cape Town</h3>Undoubtedly one of the most beautiful cities in the world, with Table Mountain as its backdrop, Cape Town offers something for everyone and can be a great addition to anyone\u2019s safari to Southern Africa.</div>'
        },
            ];

    // Load the map once the DOM is fully loaded
    document.addEventListener("DOMContentLoaded", function() {
        google.maps.event.addDomListener(window, "load", initMap);
    });

    function myClick(id) {
        map.setCenter(markers[id].getPosition());
        map.setZoom(5);
        google.maps.event.trigger(markers[id], 'mouseover');
    }

    // get current location
    function geoFindMe() {
        const status = document.querySelector('#status');
        const mapLink = document.querySelector('#map-link');

        mapLink.textContent = '';

        function success(position) {
            const latitude = position.coords.latitude;
            const longitude = position.coords.longitude;

            status.textContent = '';
            mapLink.textContent = `LatLong(${latitude}, ${longitude})`;
        }

        function error() {
            status.textContent = 'Unable to retrieve your location';
        }

        if (!navigator.geolocation) {
            status.textContent = 'Geolocation is not supported by your browser';
        } else {
            status.textContent = 'Locating…';
            navigator.geolocation.getCurrentPosition(success, error);
        }
    }

    document.querySelector('#find-me').addEventListener('click', geoFindMe);

    // get location calculate distance between two points
    
    function toRad(v) { return v * Math.PI / 180; }
    function kmToMiles(km) { return (km * 0.62137).toFixed(2); }

		navigator.geolocation.getCurrentPosition(function(position) {
			const latitude  = position.coords.latitude;
			const longitude = position.coords.longitude;
			console.log(latitude, longitude);

			// current location
			var l1 = 	LatLong(latitude, longitude);

			// location of each shop
			var l2	=	LatLong(-33.913079, 18.425338);
			

			function LatLong(lat, lon) {
				return {Latitude: lat, Longitude: lon}
			}

			function haversine(l1, l2) {
				var R = 6371; // km 
				var x1 = l2.Latitude-l1.Latitude;
				var dLat = toRad(x1);  
				var x2 = l2.Longitude-l1.Longitude;
				var dLon = toRad(x2);  
				var a = Math.sin(dLat/2) * Math.sin(dLat/2) + 
						Math.cos(toRad(l1.Latitude)) * Math.cos(toRad(l2.Latitude)) * 
						Math.sin(dLon/2) * Math.sin(dLon/2);  
				var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); 
				var d = R * c;
				return d;
			}

			document.getElementById("distance-0").innerHTML = kmToMiles(haversine(l1, l2))+' miles <span>from location</span>';
		});

		
</script></div></div></div></div></div></div><p>The post <a href="https://galagotravel.co.uk/destinations/south-africa/capetown">Cape Town &#038; Surrounds</a> appeared first on <a href="https://galagotravel.co.uk">Galago Travel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://galagotravel.co.uk/destinations/south-africa/capetown/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
