I'm building an iPhone application with a map inside (using route-me, not MapKit).
I have some markers on the m开发者_开发百科ap, and I want to have an overlay - similarly to the google maps one - that appears once you click a marker:
A black - a bit transparent - overlay, with a button inside, and a little triangle pointing to the marker the overlay is referencing.Thank you.
It looks like these things are called 'callout bubbles'. Apple has a MapCallouts sample that shows you how to customize them.
Read the quartz2d docu from Apple. They explain in detail how to create custom views.
精彩评论