Code Context}
</style>
<?php $ll = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
$viewFile = '/var/www/vhosts/lasultanahotels.com/test.lasultanahotels.com/app/View/Layouts/default.ctp'
$dataForView = array(
'description_for_layout' => 'What is the objective?
Oualidia’s lagoon is an exceptional site of ecological importance for bird conservation that extends over 12km. Protected by the RAMSAR Convention on Wetlands of International Importance, the lagoon is a stopover haven for most water bird species that migrate the east-Atlantic route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird species including pink flamingos, grey herons, great cormorants, storks and spatulas visit the lagoon during these times.
Overlooking the lagoon lies La Sultana Oualidia, a beguiling Moorish fortress surrounded by orange, olive and palm trees, a hidden gem with 12 individually designed rooms and suites. The team at La Sultana Oualidia feel passionately about protecting the lagoon and in particular safeguarding the life of the birds by banishing plastic pollution. This is why, on 2 February 2021, to honour World Wetland Day the entire team at La Sultana Oualidia will spend a whole day cleaning up the lagoon.
How do we help?
Our excursion “Bird Safari” is specifically designed to raise awareness to our valued guests and staff to show the value of the natural reserve and invite everyone to protect it.
Also, as part of La Sultana Hotels’ Sustainability & Conservation activities, La Sultana Oualidia teams spend time each day clearing the lagoon beach near the hotel, and every Thursday with the help of the local fishermen, bring any litter to the shore. Twice a year, every member of the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to have a more significant impact on reducing the litter in the lagoon. This year, to help raise awareness of the lagoon’s important ecosystem, La Sultana Oualidia will host it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which celebrates the date of the Convention on Wetlands date of inauguration - 2 February 1971.
How can you participate?
La Sultana Oualidia are pleased to work with the local community to ensure the local lagoon, beaches and town are clean and free of rubbish. The team invite volunteers to partake and will be delighted to provide a bag for them to put any discarded rubbish inside. Once finished, the bag can be returned to La Sultana Oualidia’s concierge who will ensure it is recycled or disposed of appropriately. Volunteers are then invited to enjoy a cup of Moroccan Mint tea as a thank you for helping to keep Oualidia clean. Please email us at WantToHelp@lasultanahotels.com to book your participation.
Why are wetlands important?
Wetlands are areas of land that are saturated or flooded with water, either permanently or seasonally. Inland wetlands include marshes, ponds, lakes, fens, rivers, floodplains and swamps. Coastal wetlands, like Oualidia include saltwater marshes, estuaries, mangroves, lagoons and even coral reefs. The teem with biodiversity providing homes for many endangered species and people. They are part of our natural infrastructure and provide essential protection against environmental issues such as flooding and drought.
La Sultana Oualidia’s 2021 campaign wishes to highlight the contribution of wetlands to the quantity and quality of freshwater on our planet. Water and wetlands are connected in an inseparable co-existence that is vital to wildlife, our wellbeing and the health of our planet.
You can read about our actions and initiatives in Conservation & Sustainability ',
'title_for_layout' => 'Beach clean-up',
'page' => array(
'Page' => array(
'id' => '92',
'title' => '',
'content' => '',
'photo' => null,
'file' => '',
'hotels_id' => '4',
'languages_id' => '1',
'slug' => 'save-the-birds-in-oualidia',
'header' => '',
'enligne' => true,
'metatitle' => '',
'metadescription' => '',
'ordre' => '8',
'type' => 'Default',
'locale' => 'eng'
),
(int) 0 => array(
'Page__i18n__title' => 'SAVE THE BIRDS OF THE WORLD IN OUALIDIA & BEACH CLEAN-UP ',
'Page__i18n__content' => '<h3 style="text-align: center;"><span style="background-color: initial;"><h3>Save the Birds of the World in Oualidia & Beach Clean-up</h3></span></h3><p style="text-align: center;"><b><u>Location: Lagoon & Ocean shore, Oualidia Morocco</u></b></p>
<p><img src="/img/pages/oualidia-birds-1.jpg" style=""><br></p><p><span style="background-color: initial;">What is the objective?</span><br></p>
<p>Oualidia’s lagoon is an exceptional site of
ecological importance for bird conservation that extends over 12km. Protected
by the RAMSAR Convention on Wetlands of International Importance, the lagoon is
a stopover haven for most water bird species that migrate the east-Atlantic
route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird
species including pink flamingos, grey herons, great cormorants, storks and
spatulas visit the lagoon during these times.</p>
<p>How do we help?</p>
<p>Our excursion “Bird Safari” is specifically designed to raise
awareness to our valued guests and staff to show the value of the natural
reserve and invite everyone to protect it.</p>
<p>Also, as part of La Sultana Hotels’ Sustainability &
Conservation activities, La Sultana Oualidia teams spend time each day clearing
the lagoon beach near the hotel, and every Thursday with the help of the local
fishermen, bring any litter to the shore. Twice a year, every member of
the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to
have a more significant impact on reducing the litter in the lagoon. </p><p>In 2021,
to help raise awareness of the lagoon’s important ecosystem, La Sultana
Oualidia hosted it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which
celebrates the date of the Convention on Wetlands date of inauguration - 2
February 1971. </p>
<p>How can you participate?</p>
<p>La Sultana Oualidia are pleased to work with the local community
to ensure the local lagoon, beaches and town are clean and free of rubbish. The
team invite volunteers to partake and will be delighted to provide a bag for
them to put any discarded rubbish inside. Once finished, the bag can be
returned to La Sultana Oualidia’s concierge who will ensure it is recycled or
disposed of appropriately. Volunteers are then invited to enjoy a cup of
Moroccan Mint tea as a thank you for helping to keep Oualidia
clean. </p>
<p><span style="background-color: initial;">You can read about our actions and initiatives in our report about </span><a href="https://www.lasultanahotels.com/pdfs/book_ecologie.pdf">Conservation
& Sustainability</a><span style="background-color: initial;"> </span></p>
<p></p>
'
),
'_title' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'_content' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array(
(int) 169 => array(
[maximum depth reached]
)
)
),
'menu' => array(),
'photos' => array(
(int) 0 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'PagesPhoto' => array(
[maximum depth reached]
),
'_legend' => array(
[maximum depth reached]
)
)
),
'files' => array(),
'content_for_layout' => '
<div class="pageContent">
<div class="row">
<div class="span3 leftSide">
<div style="padding-top:3px;" >
<span style="font-size: 16px; font-family: ArquitectaLight;margin-bottom: 10px; text-transform:uppercase; display: block;">Conservation & Sustainability</span>
<ul class="pressRoom">
<li ><a href="/p/sustainability/our-actions">Our actions</a></li>
<li > <a href="/pdfs/book_ecologie.pdf" target="_blank">Our values & Engagements</a></li>
<!--<li > </li>
<li > </li> -->
</ul>
</div>
<div style="padding-top:30px; line-height:15px;">
<span class="smallTitre" style="margin-bottom: 11px; display: block;font-family: ArquitectaLight; font-size: 16px;text-transform: uppercase;"> Want to Help </span>
<span class="smallTitre">Contact: Lucie Viallet <br> <a href="mailto:wanttohelp@lasultanahotels.com">wanttohelp@lasultanahotels.com</a> </span>
</div>
<style>
.jcarousel-skin-tango .jcarousel-item {
width: 330px;
height: auto;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
position:relative;
}
.jcarousel-skin-tango .jcarousel-item-horizontal img {
width: 100%;
}
.jcarousel-skin-tango .jcarousel-item-horizontal span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 100000;
display: block;
width: 100%;
padding-top:50px;
height: 100%;
color: #fff;
}
.jcarousel-skin-tango .jcarousel-item-horizontal span:hover {
background-color: rgba(255,255,255,.5);
color: #040404;
cursor:pointer;
}
.jcarousel-prev,
.jcarousel-next{
display:none !important;
}
</style>
</div>
<div class="rightSide" style="width:870px;">
<div id="content" class="row contentColumn" >
<h3 style="text-align: center;"><span style="background-color: initial;"><h3>Save the Birds of the World in Oualidia & Beach Clean-up</h3></span></h3><p style="text-align: center;"><b><u>Location: Lagoon & Ocean shore, Oualidia Morocco</u></b></p>
<p><img src="/img/pages/oualidia-birds-1.jpg" style=""><br></p><p><span style="background-color: initial;">What is the objective?</span><br></p>
<p>Oualidia’s lagoon is an exceptional site of
ecological importance for bird conservation that extends over 12km. Protected
by the RAMSAR Convention on Wetlands of International Importance, the lagoon is
a stopover haven for most water bird species that migrate the east-Atlantic
route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird
species including pink flamingos, grey herons, great cormorants, storks and
spatulas visit the lagoon during these times.</p>
<p>How do we help?</p>
<p>Our excursion “Bird Safari” is specifically designed to raise
awareness to our valued guests and staff to show the value of the natural
reserve and invite everyone to protect it.</p>
<p>Also, as part of La Sultana Hotels’ Sustainability &
Conservation activities, La Sultana Oualidia teams spend time each day clearing
the lagoon beach near the hotel, and every Thursday with the help of the local
fishermen, bring any litter to the shore. Twice a year, every member of
the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to
have a more significant impact on reducing the litter in the lagoon. </p><p>In 2021,
to help raise awareness of the lagoon’s important ecosystem, La Sultana
Oualidia hosted it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which
celebrates the date of the Convention on Wetlands date of inauguration - 2
February 1971. </p>
<p>How can you participate?</p>
<p>La Sultana Oualidia are pleased to work with the local community
to ensure the local lagoon, beaches and town are clean and free of rubbish. The
team invite volunteers to partake and will be delighted to provide a bag for
them to put any discarded rubbish inside. Once finished, the bag can be
returned to La Sultana Oualidia’s concierge who will ensure it is recycled or
disposed of appropriately. Volunteers are then invited to enjoy a cup of
Moroccan Mint tea as a thank you for helping to keep Oualidia
clean. </p>
<p><span style="background-color: initial;">You can read about our actions and initiatives in our report about </span><a href="https://www.lasultanahotels.com/pdfs/book_ecologie.pdf">Conservation
& Sustainability</a><span style="background-color: initial;"> </span></p>
<p></p>
</div>
<div id="map-canvas" ></div>
<style type="text/css">
div.i4ewOd-pzNkMb-haAclf{display: none;}
</style>
<ul class="file">
<ul>
</div>
</div>
</div>
',
'scripts_for_layout' => '<link href="https://www.lasultanahotels.com/p/sustainability" rel="canonical"/><link rel="stylesheet" type="text/css" href="/skins/tango/skin.css"/><link rel="stylesheet" type="text/css" href="/css/jquery.lightbox-0.5.css"/><script type="text/javascript" src="/js/jquery.jcarousel.js"></script><script type="text/javascript" src="/js/jquery.lightbox-0.5.js"></script><script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function() {
jQuery('#suscarousel').jcarousel({
visible:2,
scroll: 1,
center: true,
});
});
//]]>
</script><script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCwTl0HAKFHnGsPPK11qZwfF8dEjr8eJtY&sensor=false"></script><script type="text/javascript" src="/js/map-infobox.js"></script><script type="text/javascript">
//<![CDATA[
var MarrakechMonuments = [
['Place Jemaa El Fna', 31.62582, -7.98896, 4,'/img/pinred.png','','1.3 km<br>10 min à pied/ walking<br>6 min en calèche/ horse carriage',"180px",''],
['Tombeaux saadiens', 31.61727, -7.98883, 5,'/img/pinred.png','',' 0.05 km<br>1 min à pied/ walking',"190px",''],
['Palais de la Bahia', 31.621745, -7.981514, 3,'/img/pinred.png','','1.1 km<br>8 min à pied/ walking',"180px",''],
['Palais el badi', 31.61861, -7.98663, 2,'/img/pinred.png','','0.8 Km <br> 5 min à pied / walking',"180px",''],
['Jardins Majorelle', 31.64143, -8.00233, 1,'/img/pinred.png','','3.6 km<br>10 min en voiture/ driving<br>45 min en calèche/ horse carriage ',"180px",''],
['Koutoubia Mosquée', 31.624108, -7.993267, 6,'/img/pinred.png','','1.3 km<br>10 min à pied/ walking<br>6 min en calèche/ horse carriage',"180px",''],
['Bab Agnaou', 31.617590, -7.990711, 7,'/img/pinred.png','','1 min à pied/ walking',"180px",''],
['musée YVES SAINT LAURENT', 31.642943, -8.003184, 7,'/img/pinred.png','','3.6 km<br>10 min en voiture/ driving<br>45 min en calèche/ horse carriage',"180px",''],
];
var MarrakechGolfs = [
['Golf royal', 31.6081, -7.9467, 7,'/img/pingreen.png','','5.5 km<br>15 min en voiture/ driving',"180px",''],
['Golf Amelkis', 31.6173, -7.9267, 8,'/img/pingreen.png','','5.7 Km <br> 15 min en voiture / driving',"180px",''],
['Golf Samannah', 31.5025, -8.041, 9,'/img/pingreen.png','','',"180px",''],
['Golf Atlas', 31.59051, -8.01262, 10,'/img/pingreen.png','','3 km<br>10 min en voiture/ driving',"180px",''],
['Golf Al Maaden', 31.5931, -7.9407, 11,'/img/pingreen.png','',' 5.5 km<br>15 min en voiture/ driving',"180px",'']
];
var MarrakechAero = [
['Aéroport Marrakech Menara', 31.60205,-8.027261, 7,'/img/pingray.png','','5 km<br>15 min en voiture/ driving',"180px",'']
];
var Oualidia = [
['Aéroport International Mohammed V', 33.373689,-7.581167, 4,'/img/pingray.png','','180 Km <br> 2H30min en voitre / driving',"180px",''],
['Golf El Jadida', 33.287059,-8.377419, 5,'/img/pingreen.png','','80 Km <br> 50 min',"180px",''],
['Aéroport Marrakech Menara', 31.60205,-8.027261, 7,'/img/pingray.png','','185 Km <br> 2H45min en voiture / driving',"180px",'']
];
var imagemarrakech = {
url: '/img/logomap_marrakech.png',
size: new google.maps.Size(100, 90),
origin: new google.maps.Point(0,0),
anchor: new google.maps.Point(45, 10)
};
var imageoualidia = {
url: '/img/logomap_oualidia.png',
size: new google.maps.Size(100, 90),
origin: new google.maps.Point(0,0),
anchor: new google.maps.Point(45, 80)
};
var imageyacht = {
url: '/img/logomap_yacht.png',
size: new google.maps.Size(100, 90),
origin: new google.maps.Point(0,0),
anchor: new google.maps.Point(45, 80)
};
var Hotels = [
['', 32.739769,-9.030815 , 1,imageoualidia,'/img/lasultana-walidia.jpg','',"110px",'/oualidia'],
['', 31.616891, -7.988777, 2,imagemarrakech,'/img/lasultana-marrakech.jpg','',"110px",'/marrakech'],
// ['', 23.7313, -15.964, 2,imageyacht,'/img/lasultana-yacht.jpg','',"110px",'/yacht'],
// ['', 35.828, -5.804, 2,imageyacht,'/img/lasultana-yacht.jpg','',"110px",'/yacht']
];
function buttons(map){
var homeControlDiv = document.createElement('div');
var homeControl = new HomeControl(homeControlDiv, map,'Monuments','../img/pinred.png');
homeControlDiv.index = 1;
var homeControl2 = new HomeControl(homeControlDiv, map,'Golfs','../img/pingreen.png');
var homeControl4 = new HomeControl(homeControlDiv, map,'Aéroport','../img/pingray.png');
var homeControl3 = new HomeControl(homeControlDiv, map,'Tout',null);
map.controls[google.maps.ControlPosition.TOP_RIGHT].push(homeControlDiv);
}
function setMarkers(map, locations) {
function addInfoWindow(marker, message,w,link) {
var boxText = document.createElement("div");
boxText.style.cssText = " padding: 5px;";
boxText.innerHTML = message;
var myOptions = {
content: boxText
,disableAutoPan: false
,maxWidth: 0
,pixelOffset: new google.maps.Size(0, 0)
,zIndex: null
,boxStyle: {
background: "#fff"
,opacity: 1
,width: w
,color:"#888"
,fontSize:"9pt"
,textAlign: "center"
}
,closeBoxMargin: "0"
,closeBoxURL: ""
,infoBoxClearance: new google.maps.Size(1, 1)
,isHidden: false
,pane: "floatPane"
,enableEventPropagation: false
};
var infoWindow = new InfoBox(myOptions);
google.maps.event.addListener(marker, 'mouseover', function () {
infoWindow.open(map, marker);
});
google.maps.event.addListener(marker, 'mouseout', function () {
infoWindow.close();
});
google.maps.event.addListener(marker, 'click', function () {
if(link==""){
}else{
window.location = link;
}
});
}
for (var i = 0; i < locations.length; i++) {
var beach = locations[i];
var myLatLng = new google.maps.LatLng(beach[1], beach[2]);
var image = beach[4];
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
//shadow: shadow,
icon: image,
//shape: shape,
//title: beach[0],
zIndex: beach[3]
});
var m = '<div id="content">';
if(beach[0]!=""){m = m+'<span id="firstHeading" style="font-weight:bold;font-size:13px;font-family:myriadproregular;" class="firstHeading">'+beach[0]+'</span>';}
//m=m+'<div id="bodyContent">';
if(beach[6]!=""){m = m+'<span Style="text-align:center"> - '+beach[6]+'</span>';}
if(beach[5]!=""){m = m+'<img width="100" src="'+beach[5]+'">';}
// m= m+'</div>'+
'</div>';
addInfoWindow(marker,m,beach[7],beach[8]);
}
}
function HomeControl(controlDiv, map,text,img) {
controlDiv.style.width = '500px';
var controlUI = document.createElement('div');
controlUI.style.width = '110px';
controlUI.style.cssFloat = 'left';
controlUI.style.margin = '4px';
controlUI.style.backgroundColor = '#fff';
controlUI.style.borderStyle = 'solid';
controlUI.style.borderWidth = '1px';
controlUI.style.borderColor = '#ddd';
controlUI.style.cursor = 'pointer';
controlUI.style.textAlign = 'center';
controlUI.title = 'Click to set the map to Home';
controlDiv.appendChild(controlUI);
var controlText = document.createElement('div');
controlText.style.fontFamily = 'myriadproregular';
controlText.style.fontSize = '12px';
controlText.style.color = '#888';
controlText.style.paddingLeft = '8px';
controlText.style.paddingRight = '8px';
if(img!=null){
var imx = '<img style="height:10px !important;" src="'+img+'"> ';
}else{
var imx = '';
}
controlText.innerHTML = imx + ' <strong>'+text+'</strong>';
controlUI.appendChild(controlText);
google.maps.event.addDomListener(controlUI, 'click', function() {
if(text=='Golfs'){
initializeGolfs();
}
else if(text=='Monuments'){
initializeMonuments();
}
else if(text=='Tout'){
initialize();
}
else if(text=='Aéroport'){
initializeAero();
}
/*else if(text=='Back'){
$(location).attr('href',"/maps");
}*/
});
}
function addInfoWindow2(marker, message,map,w,link) {
var boxText = document.createElement("div");
boxText.style.cssText = " padding: 5px;";
boxText.innerHTML = message;
var myOptions = {
content: boxText
,disableAutoPan: false
,maxWidth: 0
,pixelOffset: new google.maps.Size(0, 0)
,zIndex: null
,boxStyle: {
background: "#fff"
,opacity: 1
,width: w
,color:"#888"
,fontSize:"6pt"
,textAlign: "center"
}
,closeBoxMargin: "0"
,closeBoxURL: ""
,infoBoxClearance: new google.maps.Size(1, 1)
,isHidden: false
,pane: "floatPane"
,enableEventPropagation: false
};
var infoWindow = new InfoBox(myOptions);
google.maps.event.addListener(marker, 'mouseover', function () {
infoWindow.open(map, marker);
});
google.maps.event.addListener(marker, 'mouseout', function () {
infoWindow.close();
});
google.maps.event.addListener(marker, 'click', function () {
window.location = link;
});
}
function initialize() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechMonuments);
setMarkers(map, MarrakechGolfs);
setMarkers(map, MarrakechAero);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializeMonuments() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechMonuments);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializeGolfs() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechGolfs);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializeAero() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechAero);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initialize2() {
var myLatlng = new google.maps.LatLng(32.739769,-9.030815);
var mapOptions = {
center: myLatlng,
minZoom: 8, maxZoom: 19,
zoom: 8,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imageoualidia;
var marker = new google.maps.Marker({
position: myLatlng,
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-walidia.jpg" >' +
'</div>'+
'</div>',map,"110px",'/oualidia');
marker.setMap(map);
setMarkers(map, Oualidia);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(32.739769, -9.03081),
new google.maps.LatLng(33.739769, -10.03081));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializex() {
var myLatlng = new google.maps.LatLng(30.742526,-8.027752);
var mapStyles = [{featureType: "administrative.country",stylers: [{ visibility: "off" }]}];
var mapType = new google.maps.StyledMapType(mapStyles ,{name: "Maroc"});
var mapOptions = {
center: myLatlng,
zoom: 6,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP,
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
map.mapTypes.set('maroc', mapType );
map.setMapTypeId('maroc');
layer = new google.maps.FusionTablesLayer({
query: {
select: 'geometry',
from: '1S4aLkBE5u_WS0WMVSchhBgMLdAARuPEjyW4rs20',
where: "col1 contains 'MAR'"
},
styles: [{
polylineOptions: {
strokeColor: "#333333",
strokeWeight: 2
},
}],
suppressInfoWindows: true,
});
layer.setMap(map);
setMarkers(map, Hotels);
//var homeControlDiv = document.createElement('div');
// var homeControl = new HomeControl(homeControlDiv, map,'Back');
// homeControlDiv.index = 1;
// map.controls[google.maps.ControlPosition.TOP_LEFT].push(homeControlDiv);
}
//]]>
</script><script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
function update() {
$.ajax({
type: 'GET',
url: '/pages/getTime',
success: function(data) {
$("#timer").html(data);
},
});
}
update();
setInterval(update, 40000);
});
$('ul.nav>li>a , ul.nav>li>ul.dropdown-menu>li>a').click(function(e){
var slug = $(this).attr('data-slug');
var hotel = "sustainability";
$.ajax({
method: 'GET',
url: '/pages/getContent/'+slug,
success: function(data) {
data = $.parseJSON(data);
console.log(data)
$("div#content").html(data.content );
fillFiles(data.files);
if(hotel=="marrakech" && slug=="Localisation"){
$('div#map-canvas').css({"width":"100%" , "height":"400px"});
initialize();
}
else if(hotel=="oualidia" && slug=="Localisation"){
$('div#map-canvas').css({"width":"100%" , "height":"400px"});
initialize2();
}else{
$('div#map-canvas').css({"width":"0" , "height":"0px"});
}
},
});
function fillFiles(files){
var filehtml ="";
for(var i=0;i<files.length ; i++){
filehtml = filehtml + "<li><a href='../pdfs/"+files[i]['File']['name']+"' target='blank'>"+files[i]['File']['legend']+"</a></li>";
}
$("ul.file").html(filehtml);
}
e.preventDefault();
});
//]]>
</script>'
)
$description_for_layout = 'What is the objective?
Oualidia’s lagoon is an exceptional site of ecological importance for bird conservation that extends over 12km. Protected by the RAMSAR Convention on Wetlands of International Importance, the lagoon is a stopover haven for most water bird species that migrate the east-Atlantic route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird species including pink flamingos, grey herons, great cormorants, storks and spatulas visit the lagoon during these times.
Overlooking the lagoon lies La Sultana Oualidia, a beguiling Moorish fortress surrounded by orange, olive and palm trees, a hidden gem with 12 individually designed rooms and suites. The team at La Sultana Oualidia feel passionately about protecting the lagoon and in particular safeguarding the life of the birds by banishing plastic pollution. This is why, on 2 February 2021, to honour World Wetland Day the entire team at La Sultana Oualidia will spend a whole day cleaning up the lagoon.
How do we help?
Our excursion “Bird Safari” is specifically designed to raise awareness to our valued guests and staff to show the value of the natural reserve and invite everyone to protect it.
Also, as part of La Sultana Hotels’ Sustainability & Conservation activities, La Sultana Oualidia teams spend time each day clearing the lagoon beach near the hotel, and every Thursday with the help of the local fishermen, bring any litter to the shore. Twice a year, every member of the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to have a more significant impact on reducing the litter in the lagoon. This year, to help raise awareness of the lagoon’s important ecosystem, La Sultana Oualidia will host it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which celebrates the date of the Convention on Wetlands date of inauguration - 2 February 1971.
How can you participate?
La Sultana Oualidia are pleased to work with the local community to ensure the local lagoon, beaches and town are clean and free of rubbish. The team invite volunteers to partake and will be delighted to provide a bag for them to put any discarded rubbish inside. Once finished, the bag can be returned to La Sultana Oualidia’s concierge who will ensure it is recycled or disposed of appropriately. Volunteers are then invited to enjoy a cup of Moroccan Mint tea as a thank you for helping to keep Oualidia clean. Please email us at WantToHelp@lasultanahotels.com to book your participation.
Why are wetlands important?
Wetlands are areas of land that are saturated or flooded with water, either permanently or seasonally. Inland wetlands include marshes, ponds, lakes, fens, rivers, floodplains and swamps. Coastal wetlands, like Oualidia include saltwater marshes, estuaries, mangroves, lagoons and even coral reefs. The teem with biodiversity providing homes for many endangered species and people. They are part of our natural infrastructure and provide essential protection against environmental issues such as flooding and drought.
La Sultana Oualidia’s 2021 campaign wishes to highlight the contribution of wetlands to the quantity and quality of freshwater on our planet. Water and wetlands are connected in an inseparable co-existence that is vital to wildlife, our wellbeing and the health of our planet.
You can read about our actions and initiatives in Conservation & Sustainability '
$title_for_layout = 'Beach clean-up'
$page = array(
'Page' => array(
'id' => '92',
'title' => '',
'content' => '',
'photo' => null,
'file' => '',
'hotels_id' => '4',
'languages_id' => '1',
'slug' => 'save-the-birds-in-oualidia',
'header' => '',
'enligne' => true,
'metatitle' => '',
'metadescription' => '',
'ordre' => '8',
'type' => 'Default',
'locale' => 'eng'
),
(int) 0 => array(
'Page__i18n__title' => 'SAVE THE BIRDS OF THE WORLD IN OUALIDIA & BEACH CLEAN-UP ',
'Page__i18n__content' => '<h3 style="text-align: center;"><span style="background-color: initial;"><h3>Save the Birds of the World in Oualidia & Beach Clean-up</h3></span></h3><p style="text-align: center;"><b><u>Location: Lagoon & Ocean shore, Oualidia Morocco</u></b></p>
<p><img src="/img/pages/oualidia-birds-1.jpg" style=""><br></p><p><span style="background-color: initial;">What is the objective?</span><br></p>
<p>Oualidia’s lagoon is an exceptional site of
ecological importance for bird conservation that extends over 12km. Protected
by the RAMSAR Convention on Wetlands of International Importance, the lagoon is
a stopover haven for most water bird species that migrate the east-Atlantic
route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird
species including pink flamingos, grey herons, great cormorants, storks and
spatulas visit the lagoon during these times.</p>
<p>How do we help?</p>
<p>Our excursion “Bird Safari” is specifically designed to raise
awareness to our valued guests and staff to show the value of the natural
reserve and invite everyone to protect it.</p>
<p>Also, as part of La Sultana Hotels’ Sustainability &
Conservation activities, La Sultana Oualidia teams spend time each day clearing
the lagoon beach near the hotel, and every Thursday with the help of the local
fishermen, bring any litter to the shore. Twice a year, every member of
the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to
have a more significant impact on reducing the litter in the lagoon. </p><p>In 2021,
to help raise awareness of the lagoon’s important ecosystem, La Sultana
Oualidia hosted it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which
celebrates the date of the Convention on Wetlands date of inauguration - 2
February 1971. </p>
<p>How can you participate?</p>
<p>La Sultana Oualidia are pleased to work with the local community
to ensure the local lagoon, beaches and town are clean and free of rubbish. The
team invite volunteers to partake and will be delighted to provide a bag for
them to put any discarded rubbish inside. Once finished, the bag can be
returned to La Sultana Oualidia’s concierge who will ensure it is recycled or
disposed of appropriately. Volunteers are then invited to enjoy a cup of
Moroccan Mint tea as a thank you for helping to keep Oualidia
clean. </p>
<p><span style="background-color: initial;">You can read about our actions and initiatives in our report about </span><a href="https://www.lasultanahotels.com/pdfs/book_ecologie.pdf">Conservation
& Sustainability</a><span style="background-color: initial;"> </span></p>
<p></p>
'
),
'_title' => array(
(int) 0 => array(
'id' => '2236',
'locale' => 'fre',
'model' => 'Page',
'foreign_key' => '92',
'field' => 'title',
'content' => 'SAVE THE BIRDS OF THE WORLD IN OUALIDIA & BEACH CLEAN-UP '
),
(int) 1 => array(
'id' => '2238',
'locale' => 'eng',
'model' => 'Page',
'foreign_key' => '92',
'field' => 'title',
'content' => 'SAVE THE BIRDS OF THE WORLD IN OUALIDIA & BEACH CLEAN-UP '
)
),
'_content' => array(
(int) 0 => array(
'id' => '2237',
'locale' => 'fre',
'model' => 'Page',
'foreign_key' => '92',
'field' => 'content',
'content' => '<h3 style="text-align: center;"><span style="background-color: initial;"><h3>Save the Birds of the World in Oualidia & Beach Clean-up<br><b style="background-color: initial; font-size: 15px; color: rgb(118, 118, 118);"><u>Location: Lagoon & Ocean shore, Oualidia Morocco</u></b></h3></span></h3>
<p><img src="/img/pages/oualidia-birds-1.jpg" style=""><br></p><p><span style="background-color: initial; color: rgb(0, 0, 0);"></span></p><p><span style="background-color: initial;">Quel est
l’objectif ?</span><br></p><p>
</p><p>Notre rôle est de
protéger la lagune de Oualidia de la pollution des matières plastiques qui
mettent en danger la vie des oiseaux. Cette étendue d’eau séparée de l’Océan
Atlantique par un cordon de sable fin et de dunes est une Réserve Naturelle de
grande valeur écologique pour de nombreuses espèces d’oiseaux. Cette région
répertoriée zone d’importance internationale RAMSAR comme habitat des oiseaux
d’eau, est également une étape importante dans la migration des oiseaux vers le
reste du continent africain. </p><p>Comment aidons-nous ?</p>
<p><span style="background-color: initial;">Lors des Expéditions Ornithologiques sur la lagune "Bird Watching Safari", nos équipes peuvent surveiller la santé écologique de la lagune et transmettre l'importance d'un milieu sain pour la survie de la vie sauvage locale.</span></p><p><span style="background-color: initial;">A </span><b style="background-color: initial;">La Sultana
Oualidia</b><span style="background-color: initial;">, en lien avec nos engagements pour l’écologie et la conservation,
nous nettoyons la plage près de l’hôtel tous les jours et tous les
jeudis sur la bande du récif côté Atlantique avec l’aide des barquiers. </span><span style="background-color: initial;">Deux fois par,
toute l’équipe participe à un nettoyage global des plages de la lagune
« Beach Clean-up day / Journée de nettoyage des Plages » pour avoir
un impact positif majeur sur notre écosystème.</span></p>
<p>En 2021, « Beach Clean-up Day » est organisé le 2 février, date qui célèbre la Journée
mondiale des zones humides pour commémorer la signature de la Convention sur
les zones humides, le 2 février 1971, dans la ville iranienne de Ramsar, au
bord de la mer Caspienne.</p>
<p>Comment
pouvez-vous participer ?</p>
<p><b>La Sultana Oualidia</b> est heureuse de travailler en collaboration avec la
communauté de Oualidia (barquiers, municipalité, école de sports nautiques,
passionnés de l’écologie) pour nettoyer les plages des déchets plastiques. Si
vous le souhaitez, notre équipe sera ravie de vous fournir un sachet dans lequel
déposer les déchets que vous pourriez trouver lors de votre promenade sur la
lagune. Ramenez simplement le sachet à l’hôtel afin que nous puissions le jeter
ou recycler de manière appropriée et nous serons ravis de vous offrir un thé à
la menthe. </p><p></p><p><span style="background-color: initial;">Pour découvrir l'ensemble de nos actions et initiatives: </span><a href="https://www.lasultanahotels.com/pdfs/book_ecologie.pdf">Conservation
& Sustainability</a><span style="background-color: initial;"> </span></p>
'
),
(int) 1 => array(
'id' => '2239',
'locale' => 'eng',
'model' => 'Page',
'foreign_key' => '92',
'field' => 'content',
'content' => '<h3 style="text-align: center;"><span style="background-color: initial;"><h3>Save the Birds of the World in Oualidia & Beach Clean-up</h3></span></h3><p style="text-align: center;"><b><u>Location: Lagoon & Ocean shore, Oualidia Morocco</u></b></p>
<p><img src="/img/pages/oualidia-birds-1.jpg" style=""><br></p><p><span style="background-color: initial;">What is the objective?</span><br></p>
<p>Oualidia’s lagoon is an exceptional site of
ecological importance for bird conservation that extends over 12km. Protected
by the RAMSAR Convention on Wetlands of International Importance, the lagoon is
a stopover haven for most water bird species that migrate the east-Atlantic
route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird
species including pink flamingos, grey herons, great cormorants, storks and
spatulas visit the lagoon during these times.</p>
<p>How do we help?</p>
<p>Our excursion “Bird Safari” is specifically designed to raise
awareness to our valued guests and staff to show the value of the natural
reserve and invite everyone to protect it.</p>
<p>Also, as part of La Sultana Hotels’ Sustainability &
Conservation activities, La Sultana Oualidia teams spend time each day clearing
the lagoon beach near the hotel, and every Thursday with the help of the local
fishermen, bring any litter to the shore. Twice a year, every member of
the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to
have a more significant impact on reducing the litter in the lagoon. </p><p>In 2021,
to help raise awareness of the lagoon’s important ecosystem, La Sultana
Oualidia hosted it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which
celebrates the date of the Convention on Wetlands date of inauguration - 2
February 1971. </p>
<p>How can you participate?</p>
<p>La Sultana Oualidia are pleased to work with the local community
to ensure the local lagoon, beaches and town are clean and free of rubbish. The
team invite volunteers to partake and will be delighted to provide a bag for
them to put any discarded rubbish inside. Once finished, the bag can be
returned to La Sultana Oualidia’s concierge who will ensure it is recycled or
disposed of appropriately. Volunteers are then invited to enjoy a cup of
Moroccan Mint tea as a thank you for helping to keep Oualidia
clean. </p>
<p><span style="background-color: initial;">You can read about our actions and initiatives in our report about </span><a href="https://www.lasultanahotels.com/pdfs/book_ecologie.pdf">Conservation
& Sustainability</a><span style="background-color: initial;"> </span></p>
<p></p>
'
)
),
'Media' => array(
(int) 169 => array(
'id' => '169',
'ref' => 'Page',
'ref_id' => '92',
'file' => '/img/pages/oualidia-birds-1.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/pages/oualidia-birds-1.jpg'
)
)
)
$menu = array()
$photos = array(
(int) 0 => array(
'PagesPhoto' => array(
'path' => '2013/02/ouali-04.jpg',
'id' => '61',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 1 => array(
'PagesPhoto' => array(
'path' => '2013/02/ouali-10-11-14.jpg',
'id' => '62',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 2 => array(
'PagesPhoto' => array(
'path' => '2013/02/yacht-sultana-10.jpg',
'id' => '63',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'PagesPhoto' => array(
'path' => '2013/02/yacht-sultana-03.jpg',
'id' => '64',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 4 => array(
'PagesPhoto' => array(
'path' => '2013/02/681.jpg',
'id' => '65',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 5 => array(
'PagesPhoto' => array(
'path' => '2013/02/696.jpg',
'id' => '67',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
(int) 6 => array(
'PagesPhoto' => array(
'path' => '',
'id' => '196',
'locale' => 'eng',
'legend' => ''
),
'_legend' => array(
(int) 0 => array(
[maximum depth reached]
)
)
)
)
$files = array()
$content_for_layout = '
<div class="pageContent">
<div class="row">
<div class="span3 leftSide">
<div style="padding-top:3px;" >
<span style="font-size: 16px; font-family: ArquitectaLight;margin-bottom: 10px; text-transform:uppercase; display: block;">Conservation & Sustainability</span>
<ul class="pressRoom">
<li ><a href="/p/sustainability/our-actions">Our actions</a></li>
<li > <a href="/pdfs/book_ecologie.pdf" target="_blank">Our values & Engagements</a></li>
<!--<li > </li>
<li > </li> -->
</ul>
</div>
<div style="padding-top:30px; line-height:15px;">
<span class="smallTitre" style="margin-bottom: 11px; display: block;font-family: ArquitectaLight; font-size: 16px;text-transform: uppercase;"> Want to Help </span>
<span class="smallTitre">Contact: Lucie Viallet <br> <a href="mailto:wanttohelp@lasultanahotels.com">wanttohelp@lasultanahotels.com</a> </span>
</div>
<style>
.jcarousel-skin-tango .jcarousel-item {
width: 330px;
height: auto;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
position:relative;
}
.jcarousel-skin-tango .jcarousel-item-horizontal img {
width: 100%;
}
.jcarousel-skin-tango .jcarousel-item-horizontal span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 100000;
display: block;
width: 100%;
padding-top:50px;
height: 100%;
color: #fff;
}
.jcarousel-skin-tango .jcarousel-item-horizontal span:hover {
background-color: rgba(255,255,255,.5);
color: #040404;
cursor:pointer;
}
.jcarousel-prev,
.jcarousel-next{
display:none !important;
}
</style>
</div>
<div class="rightSide" style="width:870px;">
<div id="content" class="row contentColumn" >
<h3 style="text-align: center;"><span style="background-color: initial;"><h3>Save the Birds of the World in Oualidia & Beach Clean-up</h3></span></h3><p style="text-align: center;"><b><u>Location: Lagoon & Ocean shore, Oualidia Morocco</u></b></p>
<p><img src="/img/pages/oualidia-birds-1.jpg" style=""><br></p><p><span style="background-color: initial;">What is the objective?</span><br></p>
<p>Oualidia’s lagoon is an exceptional site of
ecological importance for bird conservation that extends over 12km. Protected
by the RAMSAR Convention on Wetlands of International Importance, the lagoon is
a stopover haven for most water bird species that migrate the east-Atlantic
route between Spain and sub-Saharan Africa in Spring and Autumn. Rare bird
species including pink flamingos, grey herons, great cormorants, storks and
spatulas visit the lagoon during these times.</p>
<p>How do we help?</p>
<p>Our excursion “Bird Safari” is specifically designed to raise
awareness to our valued guests and staff to show the value of the natural
reserve and invite everyone to protect it.</p>
<p>Also, as part of La Sultana Hotels’ Sustainability &
Conservation activities, La Sultana Oualidia teams spend time each day clearing
the lagoon beach near the hotel, and every Thursday with the help of the local
fishermen, bring any litter to the shore. Twice a year, every member of
the La Sultana Oualidia team take part in a ‘Lagoon Clean Up Day’ in order to
have a more significant impact on reducing the litter in the lagoon. </p><p>In 2021,
to help raise awareness of the lagoon’s important ecosystem, La Sultana
Oualidia hosted it’s ‘Lagoon Clean Up Day’ on World Wetland Day, which
celebrates the date of the Convention on Wetlands date of inauguration - 2
February 1971. </p>
<p>How can you participate?</p>
<p>La Sultana Oualidia are pleased to work with the local community
to ensure the local lagoon, beaches and town are clean and free of rubbish. The
team invite volunteers to partake and will be delighted to provide a bag for
them to put any discarded rubbish inside. Once finished, the bag can be
returned to La Sultana Oualidia’s concierge who will ensure it is recycled or
disposed of appropriately. Volunteers are then invited to enjoy a cup of
Moroccan Mint tea as a thank you for helping to keep Oualidia
clean. </p>
<p><span style="background-color: initial;">You can read about our actions and initiatives in our report about </span><a href="https://www.lasultanahotels.com/pdfs/book_ecologie.pdf">Conservation
& Sustainability</a><span style="background-color: initial;"> </span></p>
<p></p>
</div>
<div id="map-canvas" ></div>
<style type="text/css">
div.i4ewOd-pzNkMb-haAclf{display: none;}
</style>
<ul class="file">
<ul>
</div>
</div>
</div>
'
$scripts_for_layout = '<link href="https://www.lasultanahotels.com/p/sustainability" rel="canonical"/><link rel="stylesheet" type="text/css" href="/skins/tango/skin.css"/><link rel="stylesheet" type="text/css" href="/css/jquery.lightbox-0.5.css"/><script type="text/javascript" src="/js/jquery.jcarousel.js"></script><script type="text/javascript" src="/js/jquery.lightbox-0.5.js"></script><script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function() {
jQuery('#suscarousel').jcarousel({
visible:2,
scroll: 1,
center: true,
});
});
//]]>
</script><script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCwTl0HAKFHnGsPPK11qZwfF8dEjr8eJtY&sensor=false"></script><script type="text/javascript" src="/js/map-infobox.js"></script><script type="text/javascript">
//<![CDATA[
var MarrakechMonuments = [
['Place Jemaa El Fna', 31.62582, -7.98896, 4,'/img/pinred.png','','1.3 km<br>10 min à pied/ walking<br>6 min en calèche/ horse carriage',"180px",''],
['Tombeaux saadiens', 31.61727, -7.98883, 5,'/img/pinred.png','',' 0.05 km<br>1 min à pied/ walking',"190px",''],
['Palais de la Bahia', 31.621745, -7.981514, 3,'/img/pinred.png','','1.1 km<br>8 min à pied/ walking',"180px",''],
['Palais el badi', 31.61861, -7.98663, 2,'/img/pinred.png','','0.8 Km <br> 5 min à pied / walking',"180px",''],
['Jardins Majorelle', 31.64143, -8.00233, 1,'/img/pinred.png','','3.6 km<br>10 min en voiture/ driving<br>45 min en calèche/ horse carriage ',"180px",''],
['Koutoubia Mosquée', 31.624108, -7.993267, 6,'/img/pinred.png','','1.3 km<br>10 min à pied/ walking<br>6 min en calèche/ horse carriage',"180px",''],
['Bab Agnaou', 31.617590, -7.990711, 7,'/img/pinred.png','','1 min à pied/ walking',"180px",''],
['musée YVES SAINT LAURENT', 31.642943, -8.003184, 7,'/img/pinred.png','','3.6 km<br>10 min en voiture/ driving<br>45 min en calèche/ horse carriage',"180px",''],
];
var MarrakechGolfs = [
['Golf royal', 31.6081, -7.9467, 7,'/img/pingreen.png','','5.5 km<br>15 min en voiture/ driving',"180px",''],
['Golf Amelkis', 31.6173, -7.9267, 8,'/img/pingreen.png','','5.7 Km <br> 15 min en voiture / driving',"180px",''],
['Golf Samannah', 31.5025, -8.041, 9,'/img/pingreen.png','','',"180px",''],
['Golf Atlas', 31.59051, -8.01262, 10,'/img/pingreen.png','','3 km<br>10 min en voiture/ driving',"180px",''],
['Golf Al Maaden', 31.5931, -7.9407, 11,'/img/pingreen.png','',' 5.5 km<br>15 min en voiture/ driving',"180px",'']
];
var MarrakechAero = [
['Aéroport Marrakech Menara', 31.60205,-8.027261, 7,'/img/pingray.png','','5 km<br>15 min en voiture/ driving',"180px",'']
];
var Oualidia = [
['Aéroport International Mohammed V', 33.373689,-7.581167, 4,'/img/pingray.png','','180 Km <br> 2H30min en voitre / driving',"180px",''],
['Golf El Jadida', 33.287059,-8.377419, 5,'/img/pingreen.png','','80 Km <br> 50 min',"180px",''],
['Aéroport Marrakech Menara', 31.60205,-8.027261, 7,'/img/pingray.png','','185 Km <br> 2H45min en voiture / driving',"180px",'']
];
var imagemarrakech = {
url: '/img/logomap_marrakech.png',
size: new google.maps.Size(100, 90),
origin: new google.maps.Point(0,0),
anchor: new google.maps.Point(45, 10)
};
var imageoualidia = {
url: '/img/logomap_oualidia.png',
size: new google.maps.Size(100, 90),
origin: new google.maps.Point(0,0),
anchor: new google.maps.Point(45, 80)
};
var imageyacht = {
url: '/img/logomap_yacht.png',
size: new google.maps.Size(100, 90),
origin: new google.maps.Point(0,0),
anchor: new google.maps.Point(45, 80)
};
var Hotels = [
['', 32.739769,-9.030815 , 1,imageoualidia,'/img/lasultana-walidia.jpg','',"110px",'/oualidia'],
['', 31.616891, -7.988777, 2,imagemarrakech,'/img/lasultana-marrakech.jpg','',"110px",'/marrakech'],
// ['', 23.7313, -15.964, 2,imageyacht,'/img/lasultana-yacht.jpg','',"110px",'/yacht'],
// ['', 35.828, -5.804, 2,imageyacht,'/img/lasultana-yacht.jpg','',"110px",'/yacht']
];
function buttons(map){
var homeControlDiv = document.createElement('div');
var homeControl = new HomeControl(homeControlDiv, map,'Monuments','../img/pinred.png');
homeControlDiv.index = 1;
var homeControl2 = new HomeControl(homeControlDiv, map,'Golfs','../img/pingreen.png');
var homeControl4 = new HomeControl(homeControlDiv, map,'Aéroport','../img/pingray.png');
var homeControl3 = new HomeControl(homeControlDiv, map,'Tout',null);
map.controls[google.maps.ControlPosition.TOP_RIGHT].push(homeControlDiv);
}
function setMarkers(map, locations) {
function addInfoWindow(marker, message,w,link) {
var boxText = document.createElement("div");
boxText.style.cssText = " padding: 5px;";
boxText.innerHTML = message;
var myOptions = {
content: boxText
,disableAutoPan: false
,maxWidth: 0
,pixelOffset: new google.maps.Size(0, 0)
,zIndex: null
,boxStyle: {
background: "#fff"
,opacity: 1
,width: w
,color:"#888"
,fontSize:"9pt"
,textAlign: "center"
}
,closeBoxMargin: "0"
,closeBoxURL: ""
,infoBoxClearance: new google.maps.Size(1, 1)
,isHidden: false
,pane: "floatPane"
,enableEventPropagation: false
};
var infoWindow = new InfoBox(myOptions);
google.maps.event.addListener(marker, 'mouseover', function () {
infoWindow.open(map, marker);
});
google.maps.event.addListener(marker, 'mouseout', function () {
infoWindow.close();
});
google.maps.event.addListener(marker, 'click', function () {
if(link==""){
}else{
window.location = link;
}
});
}
for (var i = 0; i < locations.length; i++) {
var beach = locations[i];
var myLatLng = new google.maps.LatLng(beach[1], beach[2]);
var image = beach[4];
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
//shadow: shadow,
icon: image,
//shape: shape,
//title: beach[0],
zIndex: beach[3]
});
var m = '<div id="content">';
if(beach[0]!=""){m = m+'<span id="firstHeading" style="font-weight:bold;font-size:13px;font-family:myriadproregular;" class="firstHeading">'+beach[0]+'</span>';}
//m=m+'<div id="bodyContent">';
if(beach[6]!=""){m = m+'<span Style="text-align:center"> - '+beach[6]+'</span>';}
if(beach[5]!=""){m = m+'<img width="100" src="'+beach[5]+'">';}
// m= m+'</div>'+
'</div>';
addInfoWindow(marker,m,beach[7],beach[8]);
}
}
function HomeControl(controlDiv, map,text,img) {
controlDiv.style.width = '500px';
var controlUI = document.createElement('div');
controlUI.style.width = '110px';
controlUI.style.cssFloat = 'left';
controlUI.style.margin = '4px';
controlUI.style.backgroundColor = '#fff';
controlUI.style.borderStyle = 'solid';
controlUI.style.borderWidth = '1px';
controlUI.style.borderColor = '#ddd';
controlUI.style.cursor = 'pointer';
controlUI.style.textAlign = 'center';
controlUI.title = 'Click to set the map to Home';
controlDiv.appendChild(controlUI);
var controlText = document.createElement('div');
controlText.style.fontFamily = 'myriadproregular';
controlText.style.fontSize = '12px';
controlText.style.color = '#888';
controlText.style.paddingLeft = '8px';
controlText.style.paddingRight = '8px';
if(img!=null){
var imx = '<img style="height:10px !important;" src="'+img+'"> ';
}else{
var imx = '';
}
controlText.innerHTML = imx + ' <strong>'+text+'</strong>';
controlUI.appendChild(controlText);
google.maps.event.addDomListener(controlUI, 'click', function() {
if(text=='Golfs'){
initializeGolfs();
}
else if(text=='Monuments'){
initializeMonuments();
}
else if(text=='Tout'){
initialize();
}
else if(text=='Aéroport'){
initializeAero();
}
/*else if(text=='Back'){
$(location).attr('href',"/maps");
}*/
});
}
function addInfoWindow2(marker, message,map,w,link) {
var boxText = document.createElement("div");
boxText.style.cssText = " padding: 5px;";
boxText.innerHTML = message;
var myOptions = {
content: boxText
,disableAutoPan: false
,maxWidth: 0
,pixelOffset: new google.maps.Size(0, 0)
,zIndex: null
,boxStyle: {
background: "#fff"
,opacity: 1
,width: w
,color:"#888"
,fontSize:"6pt"
,textAlign: "center"
}
,closeBoxMargin: "0"
,closeBoxURL: ""
,infoBoxClearance: new google.maps.Size(1, 1)
,isHidden: false
,pane: "floatPane"
,enableEventPropagation: false
};
var infoWindow = new InfoBox(myOptions);
google.maps.event.addListener(marker, 'mouseover', function () {
infoWindow.open(map, marker);
});
google.maps.event.addListener(marker, 'mouseout', function () {
infoWindow.close();
});
google.maps.event.addListener(marker, 'click', function () {
window.location = link;
});
}
function initialize() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechMonuments);
setMarkers(map, MarrakechGolfs);
setMarkers(map, MarrakechAero);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializeMonuments() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechMonuments);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializeGolfs() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechGolfs);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializeAero() {
var myLatlng = new google.maps.LatLng(31.616891, -7.988777);
var mapOptions = {
center: myLatlng,
minZoom: 10, maxZoom: 19,
zoom: 13,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imagemarrakech ;
var marker = new google.maps.Marker({
position: myLatlng,
title:"",
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-marrakech.jpg" >' +
'</div>'+
'</div>',map,"110px",'/marrakech');
marker.setMap(map);
setMarkers(map, MarrakechAero);
buttons(map);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(29.61689, -9.988777),
new google.maps.LatLng(32.61689, -5.988777));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initialize2() {
var myLatlng = new google.maps.LatLng(32.739769,-9.030815);
var mapOptions = {
center: myLatlng,
minZoom: 8, maxZoom: 19,
zoom: 8,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var image = imageoualidia;
var marker = new google.maps.Marker({
position: myLatlng,
icon: image
});
addInfoWindow2(marker,'<div id="content">'+
'<div id="bodyContent">'+
'<img width="100" src="/img/lasultana-walidia.jpg" >' +
'</div>'+
'</div>',map,"110px",'/oualidia');
marker.setMap(map);
setMarkers(map, Oualidia);
// Bounds for North America
var allowedBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(32.739769, -9.03081),
new google.maps.LatLng(33.739769, -10.03081));
// Listen for the dragend event
google.maps.event.addListener(map, 'dragend', function() {
if (allowedBounds.contains(map.getCenter())) return;
// Out of bounds - Move the map back within the bounds
var c = map.getCenter(),
x = c.lng(),
y = c.lat(),
maxX = allowedBounds.getNorthEast().lng(),
maxY = allowedBounds.getNorthEast().lat(),
minX = allowedBounds.getSouthWest().lng(),
minY = allowedBounds.getSouthWest().lat();
if (x < minX) x = minX;
if (x > maxX) x = maxX;
if (y < minY) y = minY;
if (y > maxY) y = maxY;
map.setCenter(new google.maps.LatLng(y, x));
});
// Limit the zoom level
var lastCenter = map.getCenter();
google.maps.event.addListener(map, 'dragstart', function() {
lastCenter = map.getCenter();
});
google.maps.event.addListener(map, 'dragend', function() {
if(allowedBounds.contains(map.getCenter())) return;
map.setCenter(lastCenter);
});
}
function initializex() {
var myLatlng = new google.maps.LatLng(30.742526,-8.027752);
var mapStyles = [{featureType: "administrative.country",stylers: [{ visibility: "off" }]}];
var mapType = new google.maps.StyledMapType(mapStyles ,{name: "Maroc"});
var mapOptions = {
center: myLatlng,
zoom: 6,
mapTypeControl: false,
panControl: false,
scrollwheel: false,
scaleControl: true,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeId: google.maps.MapTypeId.ROADMAP,
};
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
map.mapTypes.set('maroc', mapType );
map.setMapTypeId('maroc');
layer = new google.maps.FusionTablesLayer({
query: {
select: 'geometry',
from: '1S4aLkBE5u_WS0WMVSchhBgMLdAARuPEjyW4rs20',
where: "col1 contains 'MAR'"
},
styles: [{
polylineOptions: {
strokeColor: "#333333",
strokeWeight: 2
},
}],
suppressInfoWindows: true,
});
layer.setMap(map);
setMarkers(map, Hotels);
//var homeControlDiv = document.createElement('div');
// var homeControl = new HomeControl(homeControlDiv, map,'Back');
// homeControlDiv.index = 1;
// map.controls[google.maps.ControlPosition.TOP_LEFT].push(homeControlDiv);
}
//]]>
</script><script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
function update() {
$.ajax({
type: 'GET',
url: '/pages/getTime',
success: function(data) {
$("#timer").html(data);
},
});
}
update();
setInterval(update, 40000);
});
$('ul.nav>li>a , ul.nav>li>ul.dropdown-menu>li>a').click(function(e){
var slug = $(this).attr('data-slug');
var hotel = "sustainability";
$.ajax({
method: 'GET',
url: '/pages/getContent/'+slug,
success: function(data) {
data = $.parseJSON(data);
console.log(data)
$("div#content").html(data.content );
fillFiles(data.files);
if(hotel=="marrakech" && slug=="Localisation"){
$('div#map-canvas').css({"width":"100%" , "height":"400px"});
initialize();
}
else if(hotel=="oualidia" && slug=="Localisation"){
$('div#map-canvas').css({"width":"100%" , "height":"400px"});
initialize2();
}else{
$('div#map-canvas').css({"width":"0" , "height":"0px"});
}
},
});
function fillFiles(files){
var filehtml ="";
for(var i=0;i<files.length ; i++){
filehtml = filehtml + "<li><a href='../pdfs/"+files[i]['File']['name']+"' target='blank'>"+files[i]['File']['legend']+"</a></li>";
}
$("ul.file").html(filehtml);
}
e.preventDefault();
});
//]]>
</script>'
$logo = 'logo.png'
$linkfr = ''
$linken = 'active'
include - APP/View/Layouts/default.ctp, line 170
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 49