I'm using dijit Measurement tool:
var fillSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new esri.Color([255, 167, 25, 0.9]), 4), new esri.Color([255, 167, 25, 0.25]));
var lineSymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new esri.Color([255, 167, 25, 0.9]), 4);
var pointSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_SQUARE, 10, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new esri.Color([255, 255, 255, 0.9]), 2), new esri.Color([255, 167, 25, 0.9]))
this._measure_tool = new esri.dijit.Measurement({
map: this.map,
defaultAreaUnit: esri.Units.SQUARE_METERS, defaultLengthUnit: esri.Units.METERS,
fillSymbol: fillSymbol, lineSymbol: lineSymbol, pointSymbol: pointSymbol
}
, constr.create("div"));
this._measure_tool.startup();
When I draw a line to measure distance pointSymbol markers are appears at line points but its visible under the lines.
How can I make markers be above the lines?
When I draw a polygon to measure area markers is not visible.
How can I make markers visible on polygon figure?
I'm using version 3.20.