Hello,
I have some objects with coordinates and those should be used to create annotations to be set on a map. The problem is that some of the objects have the same coordinate values, ie they are located on the same address.
I only want one pin for each address on the map, but I want the information for all objects associated with this coordinate, to be shown when the user clicks on the pin.
The starting point is that I have an array with all the objects and somehow I have to seperate and group them properly. The I have to create one annotation for every coordinate.
I think it might be good to use a NSMutableDictionary in this case but I am not sure how to structure this? Any ideas?
Thanks in advance!
MACloop
I have some objects with coordinates and those should be used to create annotations to be set on a map. The problem is that some of the objects have the same coordinate values, ie they are located on the same address.
I only want one pin for each address on the map, but I want the information for all objects associated with this coordinate, to be shown when the user clicks on the pin.
The starting point is that I have an array with all the objects and somehow I have to seperate and group them properly. The I have to create one annotation for every coordinate.
I think it might be good to use a NSMutableDictionary in this case but I am not sure how to structure this? Any ideas?
Thanks in advance!
MACloop