If you want to create a new polygon then you should use AGSMutablePolygon.AGSMutablePolygon *polygon = [[[AGSMutablePolygon alloc] initWithSpatialReference:[AGSSpatialReference spatialReferenceWithWKID:4326]]autorelease];[polygon addRingToPolygon];[polygon addPointToRing:[AGSPoint pointWithX:-143.963 y:-41.866 spatialReference:nil]];[polygon addPointToRing:[AGSPoint pointWithX:-157.947 y:-21.940 spatialReference:nil]];[polygon addPointToRing:[AGSPoint pointWithX:-165.336 y:11.767 spatialReference:nil]];Regards,Nimesh
You should check the Sketch Graphic Layer sample here..All samples available here...Also, go through reference and conceptual docs.Regards,Nimesh
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.