Package su.onno.ui
Class ListSpec.MapSpec<E>
java.lang.Object
su.onno.ui.ListSpec.MapSpec<E>
Where a list's map geometry comes from, and how it reads. A marker point may come from a
lat(java.lang.String)/lng(java.lang.String) numeric pair; arbitrary geometry (including a Point) comes from a
geoJson(java.lang.String) field. A record may use both. label(java.lang.String) names the field shown in a
feature's popup; defaultView opens the list on the map rather than the table.-
Method Summary
Modifier and TypeMethodDescriptionOpen the list on the map view rather than the table.A GeoJSON field for arbitrary geometry — points, paths, and areas (what.widget("geojson")writes).<V> ListSpec.MapSpec<E> Compiler-checked GeoJSON field.booleanThe field shown in a feature's popup (defaults to a system identifier when unset).<V> ListSpec.MapSpec<E> Compiler-checked marker label field.The latitude field, when the point is stored as a numeric lat/lng pair.<N extends Number>
ListSpec.MapSpec<E> Compiler-checked latitude field.latField()The longitude field, when the point is stored as a numeric lat/lng pair.<N extends Number>
ListSpec.MapSpec<E> Compiler-checked longitude field.lngField()
-
Method Details
-
lat
The latitude field, when the point is stored as a numeric lat/lng pair. -
lat
Compiler-checked latitude field. -
lng
The longitude field, when the point is stored as a numeric lat/lng pair. -
lng
Compiler-checked longitude field. -
geoJson
A GeoJSON field for arbitrary geometry — points, paths, and areas (what.widget("geojson")writes). -
geoJson
Compiler-checked GeoJSON field. -
label
The field shown in a feature's popup (defaults to a system identifier when unset). -
label
Compiler-checked marker label field. -
defaultView
Open the list on the map view rather than the table. -
latField
-
lngField
-
geoJsonField
-
labelField
-
isDefaultView
public boolean isDefaultView()
-