My iPhone app shows the user some massive images, I've successfully tiled them and used a UIScrollView to allow them to pan around and look at parts of it in detail. Now I want to draw points above that background image and have them move around when the user pans/zooms, essentially like placing a pin on a notice board. I don't want to mark the image permanently and I may need to move it or add more of them. My first attempt id the code below, thinking I could just plonk it into a subview at it would appear in the corner, then I'd worry about offsetting it from the origin and stuff like that. Using this code I can't see my marker anywhere within the UIScrollView so I'm looking for help.
myContentView = [[UIView alloc] initWithFrame:imageRect];
UIImageView *imageView = [[UIImageView alloc] initWithImage:marker];
[myContentView.layer addSublayer:tiledLayer];
[myContentView addSubview:imageView];