Skip to content

Map and image examples

483 words Estimated reading time 2 minutes

This page shows some examples for a parameterized embedding of Blitzortung's live vector map on own websites. It also shows examples for a parameterized embedding of the last signal image and the images for displaying statistical information of the detectors on own websites.

Vector maps

Blitzortung.org's live vector map can be easily integrated with a fixed map style on own websites. The following parameters with values 0=false and 1=true are for the controls:

interactive 0/1 (default: 0)
NavigationControl 0/1 (default: 1)
FullScreenControl 0/1 (default: 1)
ScaleControl 0/1 (default: 1)
Advertisment 0/1 (default: 1)
InfoDiv 0/1 (default: 1)
Cookies 0/1 (default: 1)

The settings in the menu can be controlled by the following parameters:

MapStyle 0-3
MapStyleRangeValue 0-11
LightningRangeValue 0-23
LightningCheckboxChecked 0/1
CourseRangeValue 0-10
CourseCheckboxChecked 0/1
CountingRangeValue 0-10
CountingCheckboxChecked 0/1
CirclesRangeValue 0-10
CirclesCheckboxChecked 0/1
SpeedRangeValue 0-10
SpeedCheckboxChecked 0/1
LinksRangeValue 0-10
LinksCheckboxChecked 0/1
DetectorsRangeValue 0-12
DetectorsCheckboxChecked 0/1
CoverageRangeValue 0-10
CoverageCheckboxChecked 0/1
DayNightRangeValue 0-10
DayNightCheckboxChecked 0/1
AudioRangeValue 0-10
AudioCheckboxChecked 0/1
RegionRangeValue 0-9
RegionCheckboxChecked 0/1

Examples

<iframe src="https://map.blitzortung.org/index.php?interactive=0&NavigationControl=0&FullScreenControl=0&Cookies=0&InfoDiv=0&MenuButtonDiv=0&ScaleControl=0&LinksCheckboxChecked=1&LinksRangeValue=10&MapStyle=2&MapStyleRangeValue=10&Advertisment=0#3/40/15" width="480" height="360"></iframe> 
Result:

<iframe src="https://map.blitzortung.org/index.php?interactive=0&NavigationControl=0&FullScreenControl=0&Cookies=0&InfoDiv=0&MenuButtonDiv=1&ScaleControl=1&LinksCheckboxChecked=1&LinksRangeValue=10&MapStyle=0&MapStyleRangeValue=0&Advertisment=0#5/51.2/10.0" width="500" height="600"></iframe> 
Result:

<iframe src="https://map.blitzortung.org/index.php?interactive=0&NavigationControl=0&FullScreenControl=0&Cookies=0&InfoDiv=1&MenuButtonDiv=1&ScaleControl=1&LinksCheckboxChecked=1&LinksRangeValue=10&MapStyle=3&MapStyleRangeValue=4&Advertisment=0#5/36.5/135.0" width="800" height="800"></iframe> 
Result:

Detector signals

The images of the detector signals and the images of the statistical evaluations of the signals from a detector can be adapted as follows.

The signal display via signal.php has the following parameters:

station 0 to 5000 (default: 2656)
mode "signal"/"FFT" (default: "signal")
shift 0 to 4 (default: unset for automatic shift adjustement)
polarity -1/1/2 (default: 1)
unit_width 1 to 8 (default: 2)>
unit_height 1 to 512 (default: 128)
background_transparent 0/1 (default: 0)
line_colors 1R,1G,1B,2R,2G,2B,3R,3G,3B,4R,4G,4B,5R,5G,5B,6R,6G,6B (default: 255,0,0,0,255,0,255,255,0,255,0,255,0,255,255,255,128,0)

Example:

<img src="https://map.blitzortung.org/signal.php?station=2656&mode=FFT&shift=2&unit_width=2&unit_height=128&polarity=2" alt="signal.php">

Result: signal.php

Statistics

The statistical evaluation statistic_1.php has the following parameters:

station 0 to 5000 (default: 2656)
region 1 to 9 (default: 1)
time_zone -11  to  12 (default: 0)
weeks 1 to 4 (default: 4)
minutes_composed 1 to 30 (default: 10)
drawing_area_height 1 to 300 (default: 120)
header_line 0/1 (default: 1)
header_text 0/1 (default: 1)
background_transparent 0/1 (default: 0)
line_colors 1R,1G,1B,2R,2G,2B,3R,3G,3B,4R,4G,4B (default: 255,255,255,255,191,0,0,255,0,0,128,255)

Example:

<img style="background-color: #300000" src="https://map.blitzortung.org/statistic_1.php?time_zone=2&background_transparent=1" alt="statistic_1.php">

Result: statistic_1.php

The statistical evaluation statistic_2.php has the following parameters:

station 0 to 5000 (default: 2656)
time_zone -11 to 12 (default: 0)
days 1  to  28
distance_labels label_1,label_2,label_3,label_4,label_5 ... (default: 10,20,50,100,200,500,1000,2000,5000)
labels_extension 0/1 (default: 0)
drawing_area_height 1  to  1000 (default: 300)
bar_width 0 to 100 (default: 24)
bar_sep 0 to 10 (default: 5)
header_line 0/1 (default: 1)
header_text 0/1 (default: 1)
background_transparent 0/1 (default: 0)
</div>

Example:

<img style="background-color: #002000;" src="https://map.blitzortung.org/statistic_2.php?days=21&time_zone=2&labels_extension=1&background_transparent=1" alt="statistic_2.php">

Result: statistic_2.php