Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webclient/js/GnuBoat.js

    r9b1c16f r172e90d  
    381381                                                continue;
    382382                                        if(points[key].length > 0){
    383                                                 if(key in GnuBoat.private.mapPolylines){
     383                                                if(key in GnuBoat.private.mapPolylines)
    384384                                                        GnuBoat.private.mapPolylines[key].setLatLngs(points[key]);
    385                                                 }
    386385                                                else{
    387386                                                        GnuBoat.private.mapPolylines[key] = L.hotline(points[key], {weight: 3, outlineWidth: 0, min: minimas[key], max: maximas[key]});
    … …  
    470469               
    471470                GnuBoat.private.mapSetup();
    472                 $("#mapSelect").change(function(){ mapSetup(); });
     471                $("#mapSelect").change(function(){ GnuBoat.private.mapSetup(); });
    473472        },
    474473       
Note: See TracChangeset for help on using the changeset viewer.