Skip to content

Commit

Permalink
Fix circle
Browse files Browse the repository at this point in the history
  • Loading branch information
danbatsb committed Aug 19, 2015
1 parent e92bb64 commit b11f566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tasks/LayerInfoTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ define(["dojo/Deferred", "esri/layers/FeatureLayer", "esri/renderers/jsonUtils",
query.where = "1=1"; // Get everything
query.geometry = new Circle({
center: [_this.properties.currentPoint.x, _this.properties.currentPoint.y],
geodesic: _this.properties.currentPoint.spatialReference.isWebMercator(),
geodesic: true,
radius: _this.properties.searchRadius,
radiusUnit: _this.getUnits(_this.properties.distanceUnits)
});
Expand Down

0 comments on commit b11f566

Please sign in to comment.