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

Polygons added as layers are always filled on iOS #276

Open
the-unforgiven opened this issue Dec 22, 2015 · 0 comments
Open

Polygons added as layers are always filled on iOS #276

the-unforgiven opened this issue Dec 22, 2015 · 0 comments

Comments

@the-unforgiven
Copy link

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); }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant