Listing
https://gr.pinterest.com/etravel_greece/
https://gr.pinterest.com/etravel_greece/
tokali','location': [39.36396, 21.923363],'message':'
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'111250'},{'name':'Oneiron Akri','location': [39.237797, 21.800556],'message':'
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'89661'},{'name':'Avra','location': [39.361115, 21.921844],'message':'
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'89654'},{'name':'Hotel Kierion','location': [39.36292912, 21.91721767],'message':'
A. Blatsouka & B. Tzela, Karditsa, 43100, Greece
Hotel
//
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'73387'},{'name':'Hotel Avra','location': [39.36000936, 21.91806525],'message':'
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'55496'},{'name':'Hotel Astron','location': [39.36292912, 21.91973895],'message':'
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'37385'},{'name':'Arni Hotel Domotel','location': [39.36166834, 21.91928297],'message':'
Karaiskaki 4, Karditsa, 43100, Greece
Hotel
//
','icons':'http://www.etravel.com.gr/wp-content/plugins/Tevolution/images/pin.png','pid':'37118'}];
var clustering = '';
var map;
var mgr;
var markerClusterer;
var markerArray = [];
var mClusterer = null;
var pippoint_effects='click';
var infoBubble = new InfoBubble({maxWidth:210,minWidth:210,minHeight:"auto",padding:0,borderRadius:0,borderWidth:0,overflow:"visible",backgroundColor:"#fff"});
var isDraggable = jQuery(document).width() > 480 ? true : false;
var isscrollwheel = jQuery(document).width() > 480 ? true : false;
var dragging = zoom_changed = false;
var bounds_modified = false;
var new_bounds;
var query_string='post_type=listing&taxonomy=listingcategory&slug=';
var zoom_changed=1;
function initialize() {
bounds = new google.maps.LatLngBounds();
var myOptions = {
scrollwheel: isscrollwheel,
draggable: isDraggable,
zoom: CITY_MAP_ZOOMING_FACT,
center: new google.maps.LatLng(CITY_MAP_CENTER_LAT, CITY_MAP_CENTER_LNG),
mapTypeId: google.maps.MapTypeId.ROADMAP }
map = new google.maps.Map(document.getElementById("map_canvas"),myOptions);
/* map style customizer */
var styles = [];
map.setOptions({styles: styles});
/* Add Google Map marlkers */
mgr = new MarkerManager( map );
templ_add_googlemap_markers(markers);
if ( zoom_option==1) {
map.fitBounds(bounds);
map.setCenter(bounds.getCenter( ) ) ;
}
/* but that message is not within the marker's instance data */
google.maps.event.addListener(map, 'dragstart', function() {
dragging = false;
});
google.maps.event.addListener(map, 'dragend', function() {
dragging = true;
});
google.maps.event.addListener(map, 'bounds_changed', function() {
bounds_modified = true;
new_bounds = map.getBounds();
});
google.maps.event.addListener(map, 'zoom_changed', function() {
if ( zoom_changed!=1) {
dragging = true;
}
zoom_changed=0;
});
google.maps.event.addListener(map, 'idle', function(ev) {
/*new_bounds = map.getBounds();*/
refresh_markers();
});
}
google.maps.event.addDomListener(window, 'load', initialize);