Allow markers to be deleted (#9485)
This commit is contained in:
@@ -2049,6 +2049,11 @@ public class LExecutor{
|
|||||||
state.markers.add(id, marker);
|
state.markers.add(id, marker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Remote(called = Loc.server, variants = Variant.both, unreliable = true)
|
||||||
|
public static void removeMarker(int id){
|
||||||
|
state.markers.remove(id);
|
||||||
|
}
|
||||||
|
|
||||||
@Remote(called = Loc.server, variants = Variant.both, unreliable = true)
|
@Remote(called = Loc.server, variants = Variant.both, unreliable = true)
|
||||||
public static void updateMarker(int id, LMarkerControl control, double p1, double p2, double p3){
|
public static void updateMarker(int id, LMarkerControl control, double p1, double p2, double p3){
|
||||||
var marker = state.markers.get(id);
|
var marker = state.markers.get(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user