93 201 57 27
Av. Diagonal, 449 2º 08036 Barcelona, Barcelona, España
Av. Diagonal, 449 2º 08036 Barcelona, Barcelona, España
93 201 57 27
','icons':'https://top-gestorias.es/wp-content/plugins/Tevolution/images/pin.png','pid':'842'}];
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=violencia-de-genero';
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);