Does someone know why the geometryType not always get returned from ArcGIS Server layers?
According to the API documentation Layer / Table the geometryType is returned on layers:
//properties specific to layers only "geometryType" : "<geometryType>",
But on some layers the resulting JSON looks like this:
"geometryType" : "",
The layers I'm testing on is our own and as far as I can see they are set up in the same manner,:capabilities with mapping and web access enabled. Dynamic layers. Some layers return the correct geometry type and some don't.
Update: Clearing the cache See rest admin does not help.