Blitzortung.org Forum
Live images on own websites - Printable Version

+- Blitzortung.org Forum (https://forum.blitzortung.org)
+-- Forum: Public Forums (https://forum.blitzortung.org/forumdisplay.php?fid=29)
+--- Forum: Website, Maps and Applications (https://forum.blitzortung.org/forumdisplay.php?fid=24)
+--- Thread: Live images on own websites (/showthread.php?tid=3127)



Live images on own websites - Egon - 2019-11-24

BO's live vector map can now be easily integrated on websites with a fixed map. The easiest way is as iframe. Here is an example.

http://map.blitzortung.org/mapexample.html

The various parameters are self-explanatory.

The following parameters with the values 0=false and 1=true are for the controls.

interactive 0/1
NavigationControl 0/1
FullScreenControl 0/1
ScaleControl 0/1
Advertisment 0/1
InfoDiv 0/1
Cookies 0/1

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

MapStyle 0-3
MapStyleRangeValue 0-11
Lightning Range 1-2 1-2
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
Detectors Range 0-12
DetectorsCheckboxChecked 0/1
CoverageRangeValue 0-10
CoverageCheckboxChecked 0/1
DayNightRangeValue 0-10
DayNightRangeValue 0/1
AudioRangeValue 0-10
AudioCheckboxChecked 0/1
RegionRangeValue 0-9
RegionRangeValue 0/1

Have fun!
Egon


RE: Live images on own websites - Eric.Wouters - 2019-11-24

thanks for sharing the fun Egon  Lightning


RE: Live images on own websites - brzanek - 2019-12-17

Super and can you change the location there?
and zoom


RE: Live images on own websites - Egon - 2019-12-17

(2019-12-17, 20:08)brzanek Wrote: Super and can you change the location there?
and zoom

Yes, remove interactive and NavigationControl, or set it to zero.

The initial position and zoom is set by #3/40/15 (zoom 3, latitude 40, longitude 15).


Live images on own websites - Phoenix-Blue - 2019-12-25

Maybe an noob question. But what do I wrong when I copy and past the code to my site https://www.onweeractueel.nl/index.html


RE: Live images on own websites - Eric.Wouters - 2019-12-26

putting a non secure iframe in a secure page (http in https)

browsers block this now as a standard security measure. 

Unless Egon install a security certificate on the map page .... not much you can do I think


RE: Live images on own websites - cutty - 2019-12-26

(2019-12-25, 19:40)Phoenix-Blue Wrote: Maybe an noob question. But what do I wrong  when I copy and past the code to my site https://www.onweeractueel.nl/index.html
In Header, instead of

Code:
<html lang="de" style="margin: 0px; padding: 0px;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>

Make it

Code:
<!DOCTYPE html>
<html lang="de" style="margin: 0px; padding: 0px;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Phoenix Blue Page</title>
</head>