开发者

How do I draw custom "Callout Bubbles" (the place name transparent-gray overlay) in an iPhone application using non-google maps?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜