Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't delete polygon from MapViewer #13

Open
haulmont-git opened this issue Nov 22, 2016 · 0 comments
Open

Can't delete polygon from MapViewer #13

haulmont-git opened this issue Nov 22, 2016 · 0 comments
Labels
type: bug Something isn't working

Comments

@haulmont-git
Copy link

haulmont-git commented Nov 22, 2016

When I trying delete programmaticaly polygon overlay (i.e. if polygon is not valid) from MapViewer using method MapViewer#removePolygonOverlay nothing changes.

For example a piece of code

private PolygonCompleteListener polygonComplete = event -> {
        PolygonDelegate pd = (PolygonDelegate) event.getPolygon();
        if (!mvHelper.isValid(pd)) {
            showNotification(
                    "Polygon draw warning",
                    "Polygon topology incorrect. Discard drawing",
                    NotificationType.ERROR
            );

            mvZoneMap.removePolygonOverlay(event.getPolygon());

       }
}

Original issue: https://youtrack.haulmont.com/issue/PL-8246

@haulmont-git haulmont-git added charts type: bug Something isn't working labels Apr 27, 2018
@haulmont-git haulmont-git added this to the Undefined milestone Apr 27, 2018
@rapekas rapekas removed the charts label Apr 28, 2018
@jreznot jreznot removed this from the Undefined milestone May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants