Skip to content
This repository was archived by the owner on Sep 3, 2019. It is now read-only.
This repository was archived by the owner on Sep 3, 2019. It is now read-only.

Polygons added as layers are always filled on iOS #276

@the-unforgiven

Description

@the-unforgiven

Hi,
I noticed that polygons added as layers are always filled on iOS - the bool fill parameter is ignored in DrawPolygon(), see OsmSharp.iOS.UI.CGContextRenderer.

I replaced

                target.Target.CGContext.FillPath ();

with

if (fill) {
                target.Target.CGContext.FillPath ();
            } else {
                target.Target.CGContext.DrawPath (CGPathDrawingMode.Stroke); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions