أضف صورتك باعتبارها نظرة فرعية إلى WorldMapimage (عرض صورة كبير). سيؤدي هذا إلى ترجمة نقاط الصورة وفقًا لصورة الخريطة العالمية.
self.pimg = [[NSImageView alloc] initWithFrame:NSMakeRect (0, 0, 30, 30)];
[self.pimg setImage: image];
//self.pimg is the pointing image to be drawn over the worldmap
[self.pimg setImageFrameStyle:NSImageFrameNone];
[self.pimg setImageScaling:NSOnState];
//Updated line of code
[self.largeImageView addSubview:self.pimg]; //Add subview to the largeimageview(world map)