mapzen / ios

Where you can find everything iOS from Mapzen
https://mapzen.com/projects/mobile/
Apache License 2.0
40 stars 24 forks source link

Split marker protocol #250

Closed sarahsnow1 closed 7 years ago

sarahsnow1 commented 7 years ago

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

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)