mapkit - OverlayView in iPhone -


what meaning of term overlayview in iphone can 1 give me detailed description

from apple documentation:

the mkoverlay protocol defines specific type of annotation represents both point , area on map. overlay objects data objects contain geographic data needed represent map area. example, overlays can take form of common shapes such rectangles , circles. can describe polygons , other complex shapes.

you use overlays layer more sophisticated content on top of map view. example, use overlay show boundaries of national park or trace bus route along city streets. map kit framework defines several concrete classes conform protocol , define standard shapes.

because overlays annotations, have similar usage pattern annotations. when added map view using addoverlay: method, view detects whenever overlay’s defined region intersects visible portion of map. @ point, map view asks delegate provide special overlay view draw visual representation of overlay. if add overlay map view annotation instead, treated annotation single point.

for more info see documenation of mkoverlay , mkoverlayview


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -