Live images on own websites
#1
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
Stations: 753, 762, 1403
Reply
#2
thanks for sharing the fun Egon  Lightning
Stations: 1476
Reply
#3
Super and can you change the location there?
and zoom
Reply
#4
(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).
Stations: 753, 762, 1403
Reply
#5
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
Station: 322
Stations: 322
Reply
#6
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
Stations: 1476
Reply
#7
(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>

Stations: 689, 791, 1439
Reply
#8
It now also works via "https".

The remaining websites are still being converted.

/Egon
Stations: 753, 762, 1403
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Live images on own websites Egon 0 932 2019-11-24, 12:59
Last Post: Egon
  http://www.lightningmaps.org/Images/ removed? HamelGre 3 7,047 2017-08-12, 20:34
Last Post: HamelGre



Users browsing this thread: 1 Guest(s)