valentingrigorean / arcgis_maps_flutter

MIT License
26 stars 14 forks source link

Add AGSPoint used in layer query to onIdentifyLayers callback #29

Closed shapljts closed 2 years ago

shapljts commented 2 years ago

The native SDKs are passed the AGSPoint used in the mapView.identifyLayer (iOS) method. Our native apps currently use this AGSPoint to do some additional processing or querying, depending on the results of the identifyLayer method (e.g., use the AGSPoint to query a service for closest boat ramp, river flow gauge, weather or tide prediction station). We are currently working around this by using device location, if within the view, or center of the screen, but tapped point would be optimal. I did check to see if onMapTap callback was available, but confirmed it is only called when a layer is not identified.

Thank you for developing this plugin!