trame.widgets.leaflet3 module
- class trame.widgets.leaflet3.LCircle(children=None, **kwargs)
Bases:
AbstractElementComponent LCircle with the following properties
- Args:
v_model_visible:
attribution:
bubbling_mouse_events:
class_name:
color:
dash_array:
dash_offset:
fill:
fill_color:
fill_opacity:
fill_rule:
interactive:
lat_lng:
layer_type:
line_cap:
line_join:
name:
opacity:
options:
pane:
radius:
stroke:
visible:
weight:
v_model_visible (event):
attribution (event):
bubbling_mouse_events (event):
class_name (event):
color (event):
dash_array (event):
dash_offset (event):
fill (event):
fill_color (event):
fill_opacity (event):
fill_rule (event):
interactive (event):
lat_lng (event):
layer_type (event):
line_cap (event):
line_join (event):
name (event):
opacity (event):
options (event):
pane (event):
radius (event):
stroke (event):
visible (event):
weight (event):
- class trame.widgets.leaflet3.LCircleMarker(children=None, **kwargs)
Bases:
AbstractElementComponent LCircleMarker with the following properties
- Args:
v_model_visible:
attribution:
bubbling_mouse_events:
class_name:
color:
dash_array:
dash_offset:
fill:
fill_color:
fill_opacity:
fill_rule:
interactive:
lat_lng:
layer_type:
line_cap:
line_join:
name:
opacity:
options:
pane:
radius:
stroke:
visible:
weight:
v_model_visible (event):
attribution (event):
bubbling_mouse_events (event):
class_name (event):
color (event):
dash_array (event):
dash_offset (event):
fill (event):
fill_color (event):
fill_opacity (event):
fill_rule (event):
interactive (event):
lat_lng (event):
layer_type (event):
line_cap (event):
line_join (event):
name (event):
opacity (event):
options (event):
pane (event):
radius (event):
stroke (event):
visible (event):
weight (event):
- class trame.widgets.leaflet3.LControl(children=None, **kwargs)
Bases:
AbstractElementComponent LControl with the following properties
- Args:
disable_click_propagation:
disable_scroll_propagation:
options:
position:
disable_click_propagation (event):
disable_scroll_propagation (event):
options (event):
position (event):
- class trame.widgets.leaflet3.LControlAttribution(children=None, **kwargs)
Bases:
AbstractElementComponent LControlAttribution with the following properties
- Args:
options:
position:
prefix:
options (event):
position (event):
prefix (event):
- class trame.widgets.leaflet3.LControlLayers(children=None, **kwargs)
Bases:
AbstractElementComponent LControlLayers with the following properties
- Args:
auto_zindex:
collapsed:
hide_single_base:
options:
position:
sort_function:
sort_layers:
auto_zindex (event):
collapsed (event):
hide_single_base (event):
options (event):
position (event):
sort_function (event):
sort_layers (event):
- class trame.widgets.leaflet3.LControlScale(children=None, **kwargs)
Bases:
AbstractElementComponent LControlScale with the following properties
- Args:
imperial:
max_width:
metric:
options:
position:
update_when_idle:
imperial (event):
max_width (event):
metric (event):
options (event):
position (event):
update_when_idle (event):
- class trame.widgets.leaflet3.LControlZoom(children=None, **kwargs)
Bases:
AbstractElementComponent LControlZoom with the following properties
- Args:
options:
position:
zoom_in_text:
zoom_in_title:
zoom_out_text:
zoom_out_title:
options (event):
position (event):
zoom_in_text (event):
zoom_in_title (event):
zoom_out_text (event):
zoom_out_title (event):
- class trame.widgets.leaflet3.LFeatureGroup(children=None, **kwargs)
Bases:
AbstractElementComponent LFeatureGroup with the following properties
- Args:
v_model_visible:
attribution:
layer_type:
name:
options:
pane:
visible:
v_model_visible (event):
attribution (event):
layer_type (event):
name (event):
options (event):
pane (event):
visible (event):
- class trame.widgets.leaflet3.LGeoJson(children=None, **kwargs)
Bases:
AbstractElementComponent LGeoJson with the following properties
- Args:
v_model_visible:
attribution:
geojson:
layer_type:
name:
options:
options_style:
pane:
visible:
v_model_visible (event):
attribution (event):
geojson (event):
layer_type (event):
name (event):
options (event):
options_style (event):
pane (event):
visible (event):
- class trame.widgets.leaflet3.LGridLayer(children=None, **kwargs)
Bases:
AbstractElementComponent LGridLayer with the following properties
- Args:
v_model_visible:
attribution:
child_render:
class_name:
layer_type:
max_zoom:
min_zoom:
name:
no_wrap:
opacity:
options:
pane:
tile_size:
visible:
zindex:
v_model_visible (event):
attribution (event):
child_render (event):
class_name (event):
layer_type (event):
max_zoom (event):
min_zoom (event):
name (event):
no_wrap (event):
opacity (event):
options (event):
pane (event):
tile_size (event):
visible (event):
zindex (event):
- class trame.widgets.leaflet3.LIcon(children=None, **kwargs)
Bases:
AbstractElementComponent LIcon with the following properties
- Args:
bg_pos:
class_name:
icon_anchor:
icon_retina_url:
icon_size:
icon_url:
options:
popup_anchor:
shadow_anchor:
shadow_retinaUrl:
shadow_size:
shadow_url:
tooltip_anchor:
bg_pos (event):
class_name (event):
icon_anchor (event):
icon_retina_url (event):
icon_size (event):
icon_url (event):
options (event):
popup_anchor (event):
shadow_anchor (event):
shadow_retinaUrl (event):
shadow_size (event):
shadow_url (event):
tooltip_anchor (event):
- class trame.widgets.leaflet3.LImageOverlay(children=None, **kwargs)
Bases:
AbstractElementComponent LImageOverlay with the following properties
- Args:
v_model_visible:
alt:
attribution:
bounds:
class_name:
cross_origin:
error_overlay_url:
interactive:
layer_type:
name:
opacity:
options:
pane:
url:
visible:
zindex:
v_model_visible (event):
alt (event):
attribution (event):
bounds (event):
class_name (event):
cross_origin (event):
error_overlay_url (event):
interactive (event):
layer_type (event):
name (event):
opacity (event):
options (event):
pane (event):
url (event):
visible (event):
zindex (event):
- class trame.widgets.leaflet3.LLayerGroup(children=None, **kwargs)
Bases:
AbstractElementComponent LLayerGroup with the following properties
- Args:
v_model_visible:
attribution:
layer_type:
name:
options:
pane:
visible:
v_model_visible (event):
attribution (event):
layer_type (event):
name (event):
options (event):
pane (event):
visible (event):
- class trame.widgets.leaflet3.LMap(children=None, **kwargs)
Bases:
AbstractElementComponent LMap with the following properties
- Args:
v_model_zoom:
v_model_center:
v_model_bounds:
- bounds:
The bounds of the map
- bounds_sync:
The bounds of the map with .sync modifier
- center:
The center of the map
- center_sync:
The center of the map with .sync modifier
- crs:
The CRS to use for the map. Can be an object that defines a coordinate reference system for projecting geographical points into screen coordinates and back (see https://leafletjs.com/reference-1.7.1.html#crs-l-crs-base), or a string name identifying one of Leaflet’s defined CRSs, such as “EPSG4326”.
ease_linearity:
fade_animation:
inertia:
inertia_deceleration:
inertia_max_speed:
marker_zoom_animation:
- max_bounds:
The max bounds of the map
max_bounds_viscosity:
- max_zoom:
The maxZoom of the map
- min_zoom:
The minZoom of the map
no_blocking_animations:
options:
- padding:
The padding of the map
- padding_bottom_right:
The paddingBottomRight of the map
- padding_top_left:
The paddingTopLeft of the map
use_global_leaflet:
- world_copy_jump:
The worldCopyJump option for the map
- zoom:
The zoom of the map
- zoom_sync:
The zoom of the map with .sync modifier
zoom_animation:
zoom_animation_threshold:
v_model_zoom (event):
v_model_center (event):
v_model_bounds (event):
- bounds (event):
The bounds of the map
- bounds_sync (event):
The bounds of the map with .sync modifier
- center (event):
The center of the map
- center_sync (event):
The center of the map with .sync modifier
- crs (event):
The CRS to use for the map. Can be an object that defines a coordinate reference system for projecting geographical points into screen coordinates and back (see https://leafletjs.com/reference-1.7.1.html#crs-l-crs-base), or a string name identifying one of Leaflet’s defined CRSs, such as “EPSG4326”.
ease_linearity (event):
fade_animation (event):
inertia (event):
inertia_deceleration (event):
inertia_max_speed (event):
marker_zoom_animation (event):
- max_bounds (event):
The max bounds of the map
max_bounds_viscosity (event):
- max_zoom (event):
The maxZoom of the map
- min_zoom (event):
The minZoom of the map
no_blocking_animations (event):
options (event):
- padding (event):
The padding of the map
- padding_bottom_right (event):
The paddingBottomRight of the map
- padding_top_left (event):
The paddingTopLeft of the map
use_global_leaflet (event):
- world_copy_jump (event):
The worldCopyJump option for the map
- zoom (event):
The zoom of the map
- zoom_sync (event):
The zoom of the map with .sync modifier
zoom_animation (event):
zoom_animation_threshold (event):
- class trame.widgets.leaflet3.LMarker(children=None, **kwargs)
Bases:
AbstractElementComponent LMarker with the following properties
- Args:
v_model_visible:
v_model_lat_lng:
attribution:
draggable:
icon:
lat_lng:
layer_type:
name:
options:
pane:
visible:
zindex_offset:
v_model_visible (event):
v_model_lat_lng (event):
attribution (event):
draggable (event):
icon (event):
lat_lng (event):
layer_type (event):
name (event):
options (event):
pane (event):
visible (event):
zindex_offset (event):
- class trame.widgets.leaflet3.LPolygon(children=None, **kwargs)
Bases:
AbstractElementComponent LPolygon with the following properties
- Args:
v_model_visible:
attribution:
bubbling_mouse_events:
class_name:
color:
dash_array:
dash_offset:
fill:
fill_color:
fill_opacity:
fill_rule:
interactive:
lat_lngs:
layer_type:
line_cap:
line_join:
name:
no_clip:
opacity:
options:
pane:
smooth_factor:
stroke:
visible:
weight:
v_model_visible (event):
attribution (event):
bubbling_mouse_events (event):
class_name (event):
color (event):
dash_array (event):
dash_offset (event):
fill (event):
fill_color (event):
fill_opacity (event):
fill_rule (event):
interactive (event):
lat_lngs (event):
layer_type (event):
line_cap (event):
line_join (event):
name (event):
no_clip (event):
opacity (event):
options (event):
pane (event):
smooth_factor (event):
stroke (event):
visible (event):
weight (event):
- class trame.widgets.leaflet3.LPolyline(children=None, **kwargs)
Bases:
AbstractElementComponent LPolyline with the following properties
- Args:
v_model_visible:
attribution:
bubbling_mouse_events:
class_name:
color:
dash_array:
dash_offset:
fill:
fill_color:
fill_opacity:
fill_rule:
interactive:
lat_lngs:
layer_type:
line_cap:
line_join:
name:
no_clip:
opacity:
options:
pane:
smooth_factor:
stroke:
visible:
weight:
v_model_visible (event):
attribution (event):
bubbling_mouse_events (event):
class_name (event):
color (event):
dash_array (event):
dash_offset (event):
fill (event):
fill_color (event):
fill_opacity (event):
fill_rule (event):
interactive (event):
lat_lngs (event):
layer_type (event):
line_cap (event):
line_join (event):
name (event):
no_clip (event):
opacity (event):
options (event):
pane (event):
smooth_factor (event):
stroke (event):
visible (event):
weight (event):
- class trame.widgets.leaflet3.LPopup(children=None, **kwargs)
Bases:
AbstractElementComponent LPopup with the following properties
- Args:
content:
lat_lng:
options:
content (event):
lat_lng (event):
options (event):
- class trame.widgets.leaflet3.LRectangle(children=None, **kwargs)
Bases:
AbstractElementComponent LRectangle with the following properties
- Args:
v_model_visible:
attribution:
bounds:
bubbling_mouse_events:
class_name:
color:
dash_array:
dash_offset:
fill:
fill_color:
fill_opacity:
fill_rule:
interactive:
lat_lngs:
layer_type:
line_cap:
line_join:
name:
no_clip:
opacity:
options:
pane:
smooth_factor:
stroke:
visible:
weight:
v_model_visible (event):
attribution (event):
bounds (event):
bubbling_mouse_events (event):
class_name (event):
color (event):
dash_array (event):
dash_offset (event):
fill (event):
fill_color (event):
fill_opacity (event):
fill_rule (event):
interactive (event):
lat_lngs (event):
layer_type (event):
line_cap (event):
line_join (event):
name (event):
no_clip (event):
opacity (event):
options (event):
pane (event):
smooth_factor (event):
stroke (event):
visible (event):
weight (event):
- class trame.widgets.leaflet3.LTileLayer(children=None, **kwargs)
Bases:
AbstractElementComponent LTileLayer with the following properties
- Args:
v_model_visible:
attribution:
class_name:
detect_retina:
layer_type:
max_zoom:
min_zoom:
name:
no_wrap:
opacity:
options:
pane:
subdomains:
tile_size:
tms:
url:
visible:
zindex:
v_model_visible (event):
attribution (event):
class_name (event):
detect_retina (event):
layer_type (event):
max_zoom (event):
min_zoom (event):
name (event):
no_wrap (event):
opacity (event):
options (event):
pane (event):
subdomains (event):
tile_size (event):
tms (event):
url (event):
visible (event):
zindex (event):
- class trame.widgets.leaflet3.LTooltip(children=None, **kwargs)
Bases:
AbstractElementComponent LTooltip with the following properties
- Args:
content:
options:
content (event):
options (event):
- class trame.widgets.leaflet3.LWmsTileLayer(children=None, **kwargs)
Bases:
AbstractElementComponent LWmsTileLayer with the following properties
- Args:
v_model_visible:
attribution:
class_name:
crs:
detect_retina:
format:
layer_type:
layers:
max_zoom:
min_zoom:
name:
no_wrap:
opacity:
options:
pane:
styles:
subdomains:
tile_size:
tms:
transparent:
uppercase:
url:
version:
visible:
zindex:
v_model_visible (event):
attribution (event):
class_name (event):
crs (event):
detect_retina (event):
format (event):
layer_type (event):
layers (event):
max_zoom (event):
min_zoom (event):
name (event):
no_wrap (event):
opacity (event):
options (event):
pane (event):
styles (event):
subdomains (event):
tile_size (event):
tms (event):
transparent (event):
uppercase (event):
url (event):
version (event):
visible (event):
zindex (event):