3.2.6Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: number
Default marker css
Create CSS class based on station codes.
(any)
the station
any:
selector string like sta_CO_JSC
Create CSS class based on network codes.
(any)
the network
any:
selector string like net_CO
(any
= STATION_ICON_SIZE)
(any
= TRIANGLE)
Create a station marker as a leaflet divIcon. Also binds the station codes as a tooltip.
(any)
the station, with lat, lon
(any)
additional css class names to add
(any
= true)
=true adds inactiveStationMapMarker to class list if not active
(any
= 0)
=0 center map longitude, station lon are adjusted by +-360 to be closest to this
(any
= STATION_ICON_SIZE)
=STATION_ICON_SIZE optional icon size
(any
= TRIANGLE)
=TRIANGLE optional icon symbol, one of triangle, downtriangle, square or cross
any:
leaflet marker for the station
(any)
(any)
Create a circle marker for Quake. Radius is linearly scaled by magnitude, with min radius of 1 for very small magnitudes. Longitudes are adjusted by +-360 to draw centered on the given center longitude, eg event at lon=350 may plot at -10 if centerlon < 180.
(any)
earthquake
(any
= 5)
scale factor
(any)
CSS classes to attach
(any
= 0)
center longitude of the map
(any
= getRadiusForMag)
any:
leaflet circleMarker
Type: string
Type: string
Type: string
Type: string
Type: number
Type: string
Type: number
Type: string
Type: string
Type: number
Type: string
Type: number
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Extends SeisPlotElement
(any)
(any)
(any)
(any)
Adds a css class for the quake icon for additional styling, either via addStyle() for general or via colorClass() for just simply coloring.
(any)
the quake
(any)
css class name
Removes a css class from the earthquake circle.
(any)
quake to remove
(any)
class to remove
Removes a css class from all earthquake circles.
(any)
class to remove
(any)
(any)
(any)
Get all stations on the map. Some from seisData and some added directly to stationList.
any:
list of Stations
(any
= STATION_ICON_SIZE)
(any
= TRIANGLE)
Adds a css class for the station icon for additional styling, either via addStyle() for general or via colorClass() for just simply coloring.
(any)
the station
(any)
css class name
Removes a css class from the station triangle
(any)
the station
(any)
css class name
(any)
Set a color in css for the classname. This is a simple alternative to full styling via addStyle().
(any)
css class name
(any)
color, like red
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)
(any)