BRANCHES MAP
LOLC has branches in all city and provinces. Use the search tool below to locate your LOLC’s local branch. Remember that you can look up for the most up-to-date information about your local branch. Visiting the nearest branch to find out more about our services and offers or to solve your inquiry.
You have no Branch Location
];
/**
* Function to init map
*/
function initialize() {
var center = new google.maps.LatLng(12.5223906, 104.81506348);
var mapOptions = {
zoom: 7,
center: center,
mapTypeId: google.maps.MapTypeId.roadmap
};
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
for (i = 0; i < markers1.length; i++) {
addMarker(markers1[i]);
}
}
/**
* Function to add marker to map
*/
function addMarker(marker) {
var category = marker[4];
var title = marker[5];
var pos = new google.maps.LatLng(marker[2], marker[3]);
var content = marker[1];
marker1 = new google.maps.Marker({
title: title,
position: pos,
icon: 'https://www.lolc.com.kh/userfiles/media/188.166.205.80/icons/bran-locat-new.png',
category: category,
map: map
});
gmarkers1.push(marker1);
function toggleBounce() {
map.setZoom(10);
}
// Marker click listener
google.maps.event.addListener(marker1, 'click', (function (marker1, content) {
return function () {
//console.log('Gmarker 1 gets pushed');
infowindow.setContent(content);
infowindow.open(map, marker1);
map.panTo(this.getPosition());
map.setZoom(9);
setTimeout(toggleBounce, 100);
}
})(marker1, content));
}
/**
* Function to filter markers by category
*/
filterMarkers = function (category) {
//map.setZoom(7);
infowindow.close();
for (i = 0; i < gmarkers1.length; i++) {
marker = gmarkers1[i];
// If is same category or category not picked
if (marker.category == category || category.length === 0) {
marker.setVisible(true);
}
// Categories don't match
else {
marker.setVisible(false);
}
}
}
// Init map
initialize();