I'm trying to add a feature layer via REST API, but its not working. I only have 4 corners coordinates. Below is my code.
'geometry' => [
'hasZ' => false,
'hasM' => false,
'rings' => [[[121.458756,15.807697],[121.458784,15.807773],[121.459115,15.807692],[121.459088,15.807596],[121.458756,15.807697]]],
'spatialReference' => [
"wkid" => 4326
]
]
Any idea?