Select to view content in your preferred language

Click Button --> Find Closes Facility

923
2
08-10-2012 09:39 AM
JohnAllen
Deactivated User
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,
0 Kudos
2 Replies
KenlyFrancisca1
Deactivated User
I have the same question! Did you solve the problem already?

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,
0 Kudos
JohnAllen
Deactivated User
Kenly,

I ended up changing my application to not include closes facility option.
Instead, I just let users select any facility on the map, from there, Google Navigation opens and navigate to the latitude and longitude of the facility location from the users location.

If I do come across anything using closes facility I'll post it here.
0 Kudos