Ignore:
Timestamp:
Apr 18, 2010, 10:48:06 AM (15 years ago)
Author:
janveeden
Message:

The famous markers placed in the sea were giving problems on giving info. Fixed now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/inc/nodemapWL.js

    r7822 r7823  
    2424
    2525 
    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         */
    2831        for (var i=0; i<markers.length; i++) {
    2932                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                }
    3137        }
    3238       
Note: See TracChangeset for help on using the changeset viewer.