Changeset 12323 in main


Ignore:
Timestamp:
11/18/16 15:21:53 (6 years ago)
Author:
Paul Leo
Message:

Temp commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm-epht/trunk/src/main/webapps/WildFireSmoke/js/javascript.js

    r12314 r12323  
    391391        //buffer in linear units such as meters, km, miles etc.
    392392        params.distances = [8.04672, 4.82803, 1.60934];
    393         params.unit = esri.tasks.GeometryService.UNIT_KILOMETER;
     393        params.unit = esri.tasks.GeometryService.UNIT_STATUTE_MILE;
    394394        //Apparently spatialReference isn't passed from map, must declare
    395         //params.outSpatialReference = map.spatialReference;
    396         params.outSpatialReference = new esri.SpatialReference(4326);
     395        params.outSpatialReference = map.spatialReference;
     396        params.outSpatialReference = new esri.SpatialReference({wkid:102100});
    397397        gsvc.buffer(params, showBuffer);
     398                console.log("map.spatialReference= ", map.spatialReference);
    398399
    399400        // Show clearbutton
Note: See TracChangeset for help on using the changeset viewer.