Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

MGLMultiPolygon doesn't support coordinate property #7070

@aayers-agrible

Description

@aayers-agrible

Platform:
iOS
Mapbox SDK version:
3.3.6

Steps to trigger behavior

  1. Create a MGLMultiPolygon object (I parse them from a geojson source)
  2. Request the MGLMultiPolygon object's 'coordinate' property
  3. Get "MGLShape is an abstract class error"

Expected behavior

The centroid of the MultiPoly would be returned from the coordinate property

Actual behavior

I get an 'MGLShape is an abstract class' error.

Metadata

Metadata

Assignees

Labels

crashiOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOS

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions