'+"Murrieta Crossings, 39729 Avenida Acacias, Murrieta, CA 92563"+'
'+
'
' + "VIEW MORE" + '
'+
''+
''+
''+
''
}
],
options:{
draggable: false
},
cluster:{
radius: 25,
// This style will be used for clusters with more than 0 markers
0: {
content: "
CLUSTER_COUNT
",
width: 90,
height: 80
},
// This style will be used for clusters with more than 20 markers
20: {
content: "
CLUSTER_COUNT
",
width: 90,
height: 80
},
// This style will be used for clusters with more than 50 markers
50: {
content: "
'
};
i++;
}
}
// show geoloc marker
if(geoloc){
mapDiv.gmap3({
marker: {
latLng: geoloc,
options: {
animation: google.maps.Animation.DROP,
zIndex: 1000,
icon: "http://aerosportsparks.com/wp-content/themes/businessfinder/design/img/geolocation-pin.png"
}
}
});
}
// generate markers in map
var mapObj = {
marker: {
values: data,
options:{
draggable: false
},
cluster:{
radius: 25,
// This style will be used for clusters with more than 0 markers
0: {
content: "
CLUSTER_COUNT
",
width: 90,
height: 80
},
// This style will be used for clusters with more than 20 markers
20: {
content: "
CLUSTER_COUNT
",
width: 90,
height: 80
},
// This style will be used for clusters with more than 50 markers
50: {
content: "
CLUSTER_COUNT
",
width: 90,
height: 80
},
events: {
click: function(cluster) {
map.panTo(cluster.main.getPosition());
map.setZoom(map.getZoom() + 2);
}
}
},
events: {
click: function(marker, event, context){
map.panTo(marker.getPosition());
infobox.setContent(context.data);
infobox.open(map,marker);
// if map is small
var iWidth = 260;
var iHeight = 300;
if((mapDiv.width() / 2)
No result found
');
} else {
title = $('
Search result
');
}
var html;
if(length > 0){
html = $('
');
}
var limit = 30;
if(limit > length) {
limit = length;
}
var i = 0;
for(var key in data){
var thumbnailHtml;
if(data[key].timthumbUrlContent){
var thumbnailHtml = '
'+data[key].comment_count+'
';
} else {
thumbnailHtml = '';
}
var rating = '';
if(data[key].rating){
rating += '';
for (var i = 1; i ';
}
rating += '';
}
var descriptionHtml = '