i use the additem-endpoint and later the publish endpoint to publish a filegdb as a feature service
for the publishproperties I use now the following:
{
"name":"featureservice",
"maxRecordCount":2000,
"hasStaticData":true,
"targetSR":
{"wkid": 28992},
"layerInfo":
{
"capabilities":"Query"
}
}
how do I add to layerinfo the drawingInfo correctly for my three layers (point, polygon and line)?
I can't find any example for this how to get the correct syntax for that.
I would like to publish my feature service always with the same style.
CEO the Right Direction BV/Portal Genius