how i can select a polygon in my project? please help me!!!!!!
Try asking this in the Developer \ Android section of these boards.
https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-android
With the Android SDK, how do I perform an identify and popup like the JavaScript guys do?
[Display identify results in popup | ArcGIS API for JavaScript 3.19 }]
I believe this is what you are trying to do.
Click, see what's under it, if something found then changes its symbology and display some info. close?
Ah, I think I understand.
You can pass the "search" function any geometry. The sample uses a polygon. You need a point. The JavaScript version has a point buffer and it will return a collection. Once you get the collection you need to select the one you want. Once you have the feature you want, most people create a graphics layer and add a new graphic based on the features geometry and your "Selected" symbology.
Attach to "OnClick"
Pass query function the Point created from the mouse click and a buffer.
The return will be a collection.
Select the one you want if there are multiple items under that point.
Create graphics layer
Create new graphic with selected features geometry
Add new graphic to graphic layer. This will "Cover up" the original symbology with your "selected" version. [You might just be able to change the symbology of the feature itself and save all the above.]
i need such this.
in this sample when drag in screen select more than one featurte.but want when click a feature .it select.thanks
It might be best to move this thread to the https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-android?sr=search&searchId=50740def-9fde-4496-a57e-81e15387bbbe&searchIndex=0 place for more proper visibility.
The translation is not very clear.
Is this what you are trying to do?
Identify Task | ArcGIS for Developers
look me.. i need select a area such a polygon in android.that when i select it show a call out of this polygon info. how i can do it
Mahshid,
Can you give more details on what you need? What language are you developing in? What software are you needing to use? If you are using ArcGIS API for JavaScript, then this might help:
Feature layer with selection | ArcGIS API for JavaScript 3.19
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.