I am stuck with few problems related to the Google Maps API.
1. I need to set an image logo over a MapView layout. I tried adding
ImageView with background or resource image, but it is not visible and
there are no z-index parameters to change. How could I add a logo
image in the top corner of maps view?
2. I am trying to handle an onClick event for a pin from the map. I
have 100 pins. Is there any easy way to detect whether I have clicked
on a pin/marker in order to show a popup or I have to calculate
coordinates?
3. Also, related to N2 - could I locate nearest pins from the current
destination (when I locate myself via GPS) or I need to use X/Y coords
to get the closest pins? I try not to overwhelm performance wise the
application.
Any ideas are highly appreciated
1. I need to set an image logo over a MapView layout. I tried adding
ImageView with background or resource image, but it is not visible and
there are no z-index parameters to change. How could I add a logo
image in the top corner of maps view?
2. I am trying to handle an onClick event for a pin from the map. I
have 100 pins. Is there any easy way to detect whether I have clicked
on a pin/marker in order to show a popup or I have to calculate
coordinates?
3. Also, related to N2 - could I locate nearest pins from the current
destination (when I locate myself via GPS) or I need to use X/Y coords
to get the closest pins? I try not to overwhelm performance wise the
application.
Any ideas are highly appreciated