- Timestamp:
- Apr 18, 2010, 10:48:06 AM (15 years ago)
- Location:
- trunk/src/map/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/node_info.php
r7821 r7823 50 50 foreach($markers as $marker) 51 51 { 52 if( $marker['name'] == $_GET['name'])52 if(!$marker['location'] == null) 53 53 { 54 $name = $marker['name']; 55 $location = $marker['location']; 54 if($marker['name'] == $_GET['name']) 55 { 56 $name = $marker['name']; 57 $location = $marker['location']; 58 } 56 59 } 57 60 } -
trunk/src/map/inc/nodemapWL.js
r7822 r7823 24 24 25 25 26 27 //Go through the array 'markers' (Declared in index.php) and add a marker for each marker stored in the array using our addMarker function 26 /* 27 * Go through the array 'markers' (Declared in index.php) and add a marker for each marker stored in the array 28 * using our addMarker function. 29 * If the latLng of the marker is both 0 30 */ 28 31 for (var i=0; i<markers.length; i++) { 29 32 var current = markers[i]; 30 var gMarker = addMarker(current, i); 33 if(current.latitude[0] > 0 || current.latitude[0] < 0) 34 { 35 var gMarker = addMarker(current, i); 36 } 31 37 } 32 38
Note:
See TracChangeset
for help on using the changeset viewer.