- Posts: 4
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
'+ '
'; infowindow.setContent(contentString); infowindow.setPosition(latlng); infowindow.open(map); markerCluster0 = new MarkerClusterer(map, [], { maxZoom: 12}); var userContactAttrs = 'name,position,address,phone,mobile,fax,email'; for (var i=0; i
per arrivare a serravalle
"; function computeTotalDistance(result) { var total = 0; var myroute = result.routes[0]; for (i = 0; i Distanza totale: " + total + " km"; }; markerCluster0.addMarkers(clustermarkers0); var toShowLoading = document.getElementById("GMapsLoading"); toShowLoading.style.display = 'none'; }; function PlacemarkByIDShow(p_id, p_action, p_zoom) { alert("This feature is supported only when you enable it in map menu item property!"); } function showPlacemarkPanorama(p_width, p_height, p_pov) { var contentStringStreetView = "" + '
'+ '
'; infowindow.close(); infowindow.setContent(contentStringStreetView); infowindow.open(map); var infowindowpanorama = new google.maps.StreetViewPanorama(document.getElementById("contentStringStreetView"), { navigationControl: true, enableCloseButton: false, addressControl: false, linksControl: false } ); infowindowpanorama.setPosition(infowindow.getPosition()); if (p_pov != "") { infowindowpanorama.setPov(p_pov); } var infowindowListenterHandle = google.maps.event.addListener(infowindow, 'domready', function() { google.maps.event.trigger(infowindowpanorama, 'resize'); google.maps.event.removeListener(infowindowListenterHandle); }); }; function setRouteDestination(p_direction) { routedirection = p_direction; var cur_panel = document.getElementById("GMapFindPanelIcon"); var cur_target = document.getElementById("GMapFindTargetIcon"); var cur_target_text = document.getElementById("GMapFindTargetText"); cur_target_text.innerHTML = ''+infowindow.get("zhgmPlacemarkTitle")+''; if (routedirection == 1) { cur_panel.innerHTML = ''; cur_target.innerHTML = ''; } else { cur_panel.innerHTML = ''; cur_target.innerHTML = ''; } routedestination = infowindow.getPosition(); }; function setRouteDestinationChange() { if (routedirection == 0) { setRouteDestination(1); } else { setRouteDestination(0); } }; function ShowPlacemarkInformation(responseObject, markerObject){ if (responseObject.dataexists == 1) { var map = markerObject.getMap(); var actionbyclick = parseInt(responseObject.actionbyclick); var zoombyclick = parseInt(responseObject.zoombyclick); if (actionbyclick == 0) { if (zoombyclick != 100) { map.setCenter(markerObject.getPosition()); map.setZoom(zoombyclick); } } else if (actionbyclick == 1) { if (zoombyclick != 100) { map.setCenter(markerObject.getPosition()); map.setZoom(zoombyclick); } infowindow.close(); for (i = 0; i */
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
© 2011- Жук Це-Це. Design by Dmitry Zhuk