Class CustomLayer

All Implemented Interfaces:
JsonSerializable

@NullMarked public class CustomLayer extends WorldLayer
Represents a custom layer of markers and other metadata.
  • Constructor Details

    • CustomLayer

      public CustomLayer(String key, World world, Supplier<String> labelSupplier)
      Create a new custom layer.
      Parameters:
      key - key for layer
  • Method Details

    • load

      public static void load(World world, Path path)
    • fromJson

      public static CustomLayer fromJson(World world, com.google.gson.JsonObject obj)