This work splits the GenericMarker protocol into several smaller, more specific protocols. It also creates base implementations for each protocol. In addition, it adds style properties which prevented polygons and lines from showing on the map.
Proposed Changes
There are now 6 marker classes
PointMarker, PolylineMarker, PolygonMarker, SystemPointMarker, SelectableSystemPointMarker, and SystemPolylineMarker
SystemPointMarker supports current location, route location, and dropped pin points
Note: PolygonMarkers do not support having a "fill color" different from the stroke color. If this effect is wanted, the developer will have to create a PolylineMarker and overlay it above the PolygonMarker
Future work will add support for more system markers such as: transit stops, shields, transit lines, and default polygons (https://github.com/mapzen/ios/issues/249)
Overview
This work splits the
GenericMarker
protocol into several smaller, more specific protocols. It also creates base implementations for each protocol. In addition, it adds style properties which prevented polygons and lines from showing on the map.Proposed Changes
PointMarker
,PolylineMarker
,PolygonMarker
,SystemPointMarker
,SelectableSystemPointMarker
, andSystemPolylineMarker
SystemPointMarker
supports current location, route location, and dropped pin pointsSelectableSystemPointMarker
supports search pins, route start pins, and route destination pinsNote:
PolygonMarker
s do not support having a "fill color" different from the stroke color. If this effect is wanted, the developer will have to create aPolylineMarker
and overlay it above thePolygonMarker
Future work will add support for more system markers such as: transit stops, shields, transit lines, and default polygons (https://github.com/mapzen/ios/issues/249)