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

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); }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions