I try to create many markers in map with icon is a png image like placeholder. After that i want to set an other image inside of each placeholder.
It looks like this. My problem is how to set image inside image of marker. How to do that?
I try to create many markers in map with icon is a png image like placeholder. After that i want to set an other image inside of each placeholder.
It looks like this. My problem is how to set image inside image of marker. How to do that?
You would need to write code which takes the background image (eg the frame) and adds on the sub-image (eg the food picture), to create a combined UIImage
. Then you could use the combined UIImage
as the marker's icon.
Check out these questions for some examples of how to draw 2 UIImage
objects into a single UIImage
:
Draw another image on a UIImage
Attempting to draw image on top of another image using a touch event