File tree Expand file tree Collapse file tree
jlmap-vaadin/src/main/java/io/github/makbn/jlmap/vaadin/layer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99import io .github .makbn .jlmap .geojson .JLGeoJsonURL ;
1010import io .github .makbn .jlmap .layer .leaflet .LeafletGeoJsonLayerInt ;
1111import io .github .makbn .jlmap .model .JLGeoJson ;
12- import io .github .makbn .jlmap .model .JLPolygon ;
1312import io .github .makbn .jlmap .model .builder .JLGeoJsonObjectBuilder ;
1413import lombok .AccessLevel ;
1514import lombok .NonNull ;
@@ -76,7 +75,7 @@ public JLGeoJson addFromContent(@NonNull String content)
7675 public boolean removeGeoJson (@ NonNull String id ) {
7776 try {
7877 engine .executeScript (removeLayerWithUUID (id ));
79- callbackHandler .remove (JLPolygon .class , id );
78+ callbackHandler .remove (JLGeoJson .class , id );
8079 return true ;
8180 } catch (RuntimeException e ) {
8281 log .error (e .getMessage (), e );
You can’t perform that action at this time.
0 commit comments