- Timestamp:
- Apr 18, 2010, 10:02:22 AM (15 years ago)
- Location:
- trunk/src/map/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/nodemapWL.js
r7816 r7820 349 349 } 350 350 351 function goToMarker(value) 352 { 353 for(var i=0; i<markerArray.length; i++) 354 { 355 var name = markerArray[i].getTitle(); 356 357 if(name == value) 358 { 359 map.setCenter(markerArray[i].getLatLng(), 15); 360 } 361 } 362 } 363 351 364 function toggleGoogleSearchMap() 352 365 { -
trunk/src/map/inc/suggestions.php
r7805 r7820 45 45 } 46 46 47 echo "<select multiple >";47 echo "<select multiple onchange='goToMarker(this.options[this.selectedIndex].text)'>"; 48 48 foreach($suggested_markers as $name) 49 49 { 50 50 $name = (string)$name; 51 echo "<option value='{$name}' >{$name}</option>";51 echo "<option value='{$name}' >{$name}</option>"; 52 52 } 53 53 echo "</select>";
Note:
See TracChangeset
for help on using the changeset viewer.