I have two tasks I'm trying to accomplish with my android app
1. Find closes facility by land (road network) from GPS location. Used if I was on land and facility was on land.
2. Find closes facility by water (straight line distance) from GPS location. Used if I was on a body of water (Boat) and the facility was along a shore line.
Each task will have its own button inside the map view:
Button#1 - Find closes facility by land
Button#2 - Find closes facility by water
I'm currently using ESRI's streets map service along with my own map service, that contains facility locations.
Basically my map service with facility locations is displaying on top of ESRI's streets map service.
I have the Zoom To GPS function working already.
How do I use the spatial locations of the facilities within my map service?
Are there any ArcGIS samples for this?
Thanks,