Ignore:
Timestamp:
03/04/19 21:03:39 (23 months ago)
Author:
ak19
Message:

Zeddy I think turned commented out drawingMode. It's a local change, so I'm committing it.

File:
1 edited

Legend:

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

    r32850 r32851  
    265265
    266266    this.drawingManager = new google.maps.drawing.DrawingManager({
    267             drawingMode: google.maps.drawing.OverlayType.RECTANGLE,
     267            //drawingMode: google.maps.drawing.OverlayType.RECTANGLE,
    268268            drawingControl: true,
    269269            drawingControlOptions: {
     
    671671            console.log("SAVED");
    672672        }
    673     );
    674    
    675     /*gs.functions.getArchivesMetadata(collection, site_name, nodeID, metaname, 0, function(responseText){
    676             var JSONString = responseText.getValue();
    677             that.savedOverlays = JSONString;
    678         }
    679     );*/
    680    
    681    
     673    ); 
    682674}
    683675
     
    711703    for (var i=0; i<map_editor.overlays.length; i++) {
    712704        var shape = map_editor.overlays[i];
     705        // make the shapes selectable on load:
    713706        if (ShapesUtil.overlayItemIsShape(shape)) {
    714707            map_editor.addShapeListeners(shape, null); // don't have an overlay event!
     
    719712    }
    720713
    721     this.mapEditorHistory.presentOverlayPush(); 
     714    this.mapEditorHistory.presentOverlayPush();
    722715}
    723716
Note: See TracChangeset for help on using the changeset viewer.