Ignore:
Timestamp:
2019-06-20T17:13:50+12:00 (5 years ago)
Author:
wy59
Message:

Dr Bainbridge's map fixes to do with 1. extending bounds (updateMap) and 2. logging in works again when there's no gps map overlay meta by changing initialiseMapScripts and setupMap (renamed to renderMap now) and 3. performDistanceSearch and helper methods, which now work with Coordinate format instead of Lat/Lng format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/classifier_scripts.js

    r33153 r33168  
    4646        }
    4747        updateOpenClassifiers();
    48         if(typeof mapEnabled !== 'undefined'){
     48        if(typeof mapEnabled !== 'undefined' && mapEnabled){
     49            //console.log("Classifier scripts -> updateMap()");
    4950            updateMap();
    5051        }
     
    154155            }
    155156            updateOpenClassifiers();           
    156             if(typeof mapEnabled !== 'undefined'){
     157            if(typeof mapEnabled !== 'undefined' && mapEnabled){
    157158                getSubClassifier(sectionID);
    158159            }
Note: See TracChangeset for help on using the changeset viewer.