Is there any way to determine the geometry type of a layer if the SHAPE attribute field is turned off (ie. Graphic.Attributes["SHAPE"] does not exist)? The REST service doesn???t set the geometryType for the layer either, so a JSON request to get it won't help either... There has to be some way to get the type, doesn't there... or the graphics couldn't draw themselves even?
As a last resort I will have to make sure all layers have the SHAPE field visible before publishing the service, but would be nice if I didn't have to worry about it and could handle it programmatically.
Thanks for any ideas!