Ignore:
Timestamp:
2019-05-15T19:27:54+12:00 (5 years ago)
Author:
wy59
Message:
  1. Beginnings of label for shapes. 2. Commented out rough working sample code for label appearing on map (if in future we want a label appearing on SHAPES in the map).
File:
1 edited

Legend:

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

    r33062 r33081  
    88    this.MAX_OPACITY = 100.00;
    99    this.MIN_OPACITY = 0.00;
     10
     11    // WORK-IN-PROGRESS FEATURE: label on Map (to be changed to a label associated with each shape later)
     12    // Also uncomment import of label-overlay-class.js in document.xsl
     13    //this.labelOverlay = null;
     14   
    1015   
    1116    this.id = id;
     
    271276            mapId: this.id,
    272277        });
     278   
     279    // WORK-IN-PROGRESS FEATURE: label on Map (to be changed to a label associated with each shape later)
     280    // let's associate a label with the map (for now, later associate labels for each shape)
     281    //this.labelOverlay = new LabelOverlay(this.map);       
     282       
    273283    this.mapsArray.push(this.map);
    274284    // Add a style-selector control to the map.
Note: See TracChangeset for help on using the changeset viewer.