Ticket #17119: 17119-simple.patch

File 17119-simple.patch, 777 bytes (added by GerdP, 6 years ago)

experimental patch

  • src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

     
    518518                p.appendFromEastNorth(pd.get());
    519519                p.setWindingRule(Path2D.WIND_EVEN_ODD);
    520520                Path2D.Double pfClip = null;
     521                if (pd.getNodes().size() > 10000)
     522                    extent = null;
    521523                if (extent != null) {
    522524                    if (!usePartialFill(pd.getAreaAndPerimeter(null), extent, extentThreshold)) {
    523525                        extent = null;