1/* é¤é£²åºå®¶å°å顯示 */ 2function showMap(u, v, w, x, y, z) { 3 codeAddress(u, v, z, w + '|çæ¥æéï¼' + x + '|éå¸é»è©±ï¼' + y + '|' + z); 4} 5/* é¤é£²åºå®¶å°å顯示 */ 6 7/* é¶å®éè·¯å°å顯示 */ 8function showMap2(v, w, x, y, z) { 9 $("[id*=STORE_MAP]").hide(); 10 $('#STORE_MAP' + v).show(); 11 codeAddress(geocoders['geocoder' + v], maps['map' + v], z, w + '|çæ¥æéï¼' + x + '|éå¸é»è©±ï¼' + y + '|' + z); 12} 13/* é¶å®éè·¯å°å顯示 */ 14 15/* å°å顯示 */ 16var markers = []; 17function codeAddress(geocoder, map, address, salestext) { 18 if (geocoder) { 19 geocoder.geocode({ 'address': address }, function (results, status) { 20 if (status == google.maps.GeocoderStatus.OK) { 21 22 clearMarkers(); 23 markers = []; 24 25 map.setCenter(results[0].geometry.location); 26 var marker = new google.maps.Marker({ 27 map: map, 28 position: results[0].geometry.location 29 }); 30 marker.setIcon('images/where.png'); 31 markers.push(marker); 32 var mapLabel = new MapLabel({ 33 text: salestext, 34 position: new google.maps.LatLng(results[0].geometry.location.lat() - 0.0007, results[0].geometry.location.lng() - 0.0003), 35 map: map, 36 fontSize: 13, 37 fontColor: "#ffffff", 38 strokeColor: "#ffffff", 39 strokeWeight: "0" 40 }); 41 mapLabel.set('position', new google.maps.LatLng(results[0].geometry.location.lat(), results[0].geometry.location.lng())); 42 marker.bindTo('map', mapLabel); 43 marker.bindTo('position', mapLabel); 44 } else { 45 alert("Geocode was not successful for the following reason: " + status); 46 } 47 }); 48 } 49} 50function setAllMap(map) { 51 for (var i = 0; i < markers.length; i++) { 52 markers[i].setMap(map); 53 } 54} 55function clearMarkers() { 56 setAllMap(null); 57} 58/* å°å顯示 */
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.