Ignore:
Timestamp:
2019-06-21T17:16:16+12:00 (5 years ago)
Author:
wy59
Message:
  1. Loop counter bugfix. 2. Not sure if there should be a scroll through markers option in doc view and if so, what it should do. For now, it's off by default in doc view but can be turned on, in which case it does not at the moment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js

    r33173 r33184  
    424424    {
    425425        var doc = _docList.getDocByIndex(i);
    426         if(typeof doc.shapes !== 'undefined') {         
     426        if(typeof doc.shapes !== 'undefined') {
    427427            for(var x = 0; x < doc.shapes.length; x++) {
    428                 var shape = doc.shapes[i];
     428                var shape = doc.shapes[x];
    429429                if(shape.type === google.maps.drawing.OverlayType.MARKER && shape.getVisible())
    430430                {
Note: See TracChangeset for help on using the changeset viewer.