I'm working on a mobile app, and I would like to implement a feature that allows users to search for nearby stores that are participating in our program. We have a nationwide network, so for the sake of simplicity I'd like to do something like show them the stores within X miles of their location, limiting to the N closest if there are too many.
So far I've got test tables up and running, and I've created test map layers, and all of that is going well. I'm able to query my tables and get lists of stores matching my criteria, and that seems to be working smoothly too.
My question is, is there a good way to go from a list of stores selected with a call like
GET .../tables/TABLE_ID/features?where=SEARCH_CRITERIA&key=KEY
to a set of points overlaid on a map?
It seems to me that the only way to do this within the API is to make the request, write the data to a file, re-upload that file to create a new table, use that table to create a new layer, and finally overlay the new layer. But I find it hard to believe that there isn't a better way to do what I want to do.
Is there an easier way that I'm missing in the documentation? Or some other solution out there? Is there another tool besides Maps Engine that would be better suited?