summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLPointCollection_Private.h
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Marked C array parameters as constMinh Nguyễn2016-11-291-1/+1
| | | | Fixes #7214.
* Add MGLPointCollection for GeoJSON multipoints (#6742)Jesse Bounds2016-10-201-0/+11
* [ios, macos] Introduce MGLPointCollection This makes MGLMultiPoint abstract again so that it is only a place for shared functionality of polygons and polylines. The multipoint feature replaces the point collection feature and can be used to initialize a MGLGeoJSONSource. The previously added swift_names for polyline and polygon are removed, for now. This also updates the iOS and macOS annotation adding logic so that unwanted shapes really are avoided. Previously the combined OR conditions meant that an annotation had to logically be NOT a kind of all three types so the check always let the annotation slip through. This also expands the guard to deflect the new MGLPointCollection.