Closed GoogleCodeExporter closed 8 years ago
Original comment by peter.re...@gmail.com
on 24 Dec 2012 at 11:44
Original comment by peter.re...@gmail.com
on 24 Dec 2012 at 11:45
I pushed a first version of this feature today. It shows places within a radius
of 1km around the player location, with the icon of the resource the place
yields.
Things still missing/wrong and open questions:
1) Using the native Google Places API (exchange with controller function in the
future)
2) The places API is limited to 60 results for a search. Can we work around
that with our own wrapper?
3) Using placeholder icons for now (replace with our own resource icons in the
future)
4) The current version only requests 7 different types of places from Google
and has hardcoded resource icons (would be nice to load our existing
place->resource mapping and assign the icons automatically, but I had no luck
in a first try)
Original comment by peter.re...@gmail.com
on 29 Dec 2012 at 3:09
5) For some places the default marker icon is used (somehow the search returns
places that are not part of the requested types and therefore the default
switch case is hit; should be solved as soon as we use the mapping to assign
the icons since we request all place types then)
Original comment by peter.re...@gmail.com
on 29 Dec 2012 at 3:15
closing this. fixing the rest in followups.
Original comment by peter.re...@gmail.com
on 9 Jan 2013 at 4:49
Original comment by peter.re...@gmail.com
on 9 Jan 2013 at 4:50
Original issue reported on code.google.com by
peter.re...@gmail.com
on 24 Dec 2012 at 11:24