Annotation Interface LeafletArgument
Most Leaflet classes have constructor with custom arguments. The fields in
the @Layer classes marked with this annotation will be injected as
constructor arguments on client-side during the layer instantiation. You can
change the argument orders with index parameter.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintThe position of the annotated field in the client-side constructor argument list.
-
Element Details
-
index
int indexThe position of the annotated field in the client-side constructor argument list.- Returns:
- the argument index
- Default:
0
-