Hi All,
I would like to get geographic coordinates from a drawn polygon using the SketchViiewModel. But actually the api gets only ring.
switch (sketchViewModel.graphic.symbol.type)
{
case "symple-marker": {
$("#Longitude").val(event.geometry.longitude);
$("#Latitude").val(event.geometry.latitude);
break;
}
case "polygon": {
event.geometry.rings; // ??
break;
}
}
Is there anyway to do it?
Regards.