MAP_ELEMENT

Type: string

triangle

Type: string

StationMarkerClassName

src/leafletutil.ts
StationMarkerClassName

Type: string

InactiveStationMarkerClassName

src/leafletutil.ts
InactiveStationMarkerClassName

Type: string

QuakeMarkerClassName

src/leafletutil.ts
QuakeMarkerClassName

Type: string

stationIcon

inactiveStationIcon

src/leafletutil.ts
inactiveStationIcon

stationMarker_css

src/leafletutil.ts
stationMarker_css

createStationMarker

src/leafletutil.ts
createStationMarker(station: Station, classList: Array<string>?, isactive: any, centerLon: any)
Parameters
station (Station)
classList (Array<string>?)
isactive (any = true)
centerLon (any = 0)

createQuakeMarker

src/leafletutil.ts

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.

createQuakeMarker(quake: Quake, magScaleFactor: any, classList: Array<string>?, centerLon: any): any
Parameters
quake (Quake) earthquake
magScaleFactor (any = 5) scale factor
classList (Array<string>?) CSS classes to attach
centerLon (any = 0) center longitude of the map
Returns
any: leaflet circleMarker
leaflet_css

TILE_TEMPLATE

src/leafletutil.ts
TILE_TEMPLATE

Type: string

DEFAULT_TILE_TEMPLATE

src/leafletutil.ts
DEFAULT_TILE_TEMPLATE

Type: string

TILE_ATTRIBUTION

src/leafletutil.ts
TILE_ATTRIBUTION

Type: string

MAX_ZOOM

Type: string

DEFAULT_MAX_ZOOM

src/leafletutil.ts
DEFAULT_MAX_ZOOM

Type: number

CENTER_LAT

Type: string

DEFAULT_CENTER_LAT

src/leafletutil.ts
DEFAULT_CENTER_LAT

Type: number

CENTER_LON

Type: string

DEFAULT_CENTER_LON

src/leafletutil.ts
DEFAULT_CENTER_LON
ZOOM_LEVEL

Type: string

DEFAULT_ZOOM_LEVEL

src/leafletutil.ts
DEFAULT_ZOOM_LEVEL

Type: number

MAG_SCALE

Type: string

DEFAULT_MAG_SCALE

src/leafletutil.ts
DEFAULT_MAG_SCALE

Type: number

FIT_BOUNDS

Type: string

QUAKE_MARKER_STYLE_EL

src/leafletutil.ts
QUAKE_MARKER_STYLE_EL

Type: string

STATION_MARKER_STYLE_EL

src/leafletutil.ts
STATION_MARKER_STYLE_EL

Type: string

STATION_CODE_SEP

src/leafletutil.ts
STATION_CODE_SEP

Type: string

QuakeStationMap

src/leafletutil.ts
new QuakeStationMap(seisData: Array<SeismogramDisplayData>?, seisConfig: SeismographConfig?)

Extends SeisPlotElement

Parameters
seisData (Array<SeismogramDisplayData>?)
seisConfig (SeismographConfig?)
Static Members
observedAttributes
Instance Members
quakeList
stationList
geoRegionList
map
classToColor
stationClassMap
quakeClassMap
addQuake(quake, classname?)
quakeAddClass(quake, classname)
quakeRemoveClass(quake, classname)
quakeRemoveAllClass(classname)
addStation(station, classname?)
stationAddClass(station, classname)
stationRemoveClass(station, classname)
colorClass(classname, color)
removeColorClass(classname)
fitBounds
fitBounds
centerLat
centerLat
centerLon
centerLon
zoomLevel
zoomLevel
magScale
magScale
updateQuakeMarkerStyle()
updateStationMarkerStyle()
drawGeoRegions(map)
createStationMarkerColorStyle()
createQuakeMarkerColorStyle()
attributeChangedCallback(_name, _oldValue, _newValue)

cssClassForQuake

src/leafletutil.ts
cssClassForQuake(q: Quake): string
Parameters
q (Quake)
Returns
string