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: 3071, 3073, 3074
Reply
#2
thanks for sharing the fun Egon  Lightning
Stations: 1476, 3078
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: 3071, 3073, 3074
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, 3078
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, 3020
Reply
#8
It now also works via "https".

The remaining websites are still being converted.

/Egon
Stations: 3071, 3073, 3074
Reply
#9
Hello,

first of all thank you very much for the possibility of the Live-Map, great thing!

While defining the URL I noticed that the parameter "RegionRangeValue" can be defined twice. - Is that correct?
Or in other words, could someone post an example for the definition of the desired region!?

Thank you very much!


Greetings
Rainer
Website: Wetter in Krentruperhagen
Stations: 271, 1811
Reply
#10
Hi,

I've a little problem.
Have anything changed for the variable "MapStyle 0-3"?
I can't see any differences between the values at the start of the request.
It comes always up with 'MapStyle=0'.
I've cleared the cache in different brouwsers everytime for the request!
I don' have any idea what's going wrong ...



Greetings
Rainer
Website: Wetter in Krentruperhagen
Stations: 271, 1811
Reply
#11
(2020-07-20, 09:23)rf-leo Wrote: Hi,

I've a little problem.
Have anything changed for the variable "MapStyle 0-3"?
I can't see any differences between the values at the start of the request.
It comes always up with 'MapStyle=0'.
I've cleared the cache in different brouwsers everytime for the request!
I don' have any idea what's going wrong ...



Greetings
Rainer

I have also noticed the same behavior for a few days now. Seems to have impacted other parameters including detector links.  Tried different devices/browsers clearing cache etc.   Looks like something on the back end has changed.
Station 2487 
Regina, Sk. Canada
http://nwrweather.com/
Stations: 1670, 2487
Reply
#12
I have also noticed the same thing in the last few days.
'Detector links' are not displaying properly when requested and also "Advertising" is being displayed even though "Advertisment=0" is contained n the http request. (I hate those ads from GEICO Smile)
I suspect there may be a backend problem as this app has been working 100% for many months. (and we do love it!)
Thanks for looking into it.
Kind regards,
Byron (harwichweather)
Reply
#13
(2020-07-20, 22:14)Sleepypup Wrote:
(2020-07-20, 09:23)rf-leo Wrote: Hi,

I've a little problem.
Have anything changed for the variable "MapStyle 0-3"?
I can't see any differences between the values at the start of the request.
It comes always up with 'MapStyle=0'.
I've cleared the cache in different brouwsers everytime for the request!
I don' have any idea what's going wrong ...



Greetings
Rainer

I have also noticed the same behavior for a few days now. Seems to have impacted other parameters including detector links.  Tried different devices/browsers clearing cache etc.   Looks like something on the back end has changed.

This issue seems to be resolved now.  At least for me it is working as expected again on all devices.  http://nwrweather.com/

Thanks to whoever resolved it.

Dean
Station 2487 
Regina, Sk. Canada
http://nwrweather.com/
Stations: 1670, 2487
Reply
#14
Looks like it’s now working correctly for me as well.
Thanks for fixing it.
Stay safe...
Byron (harwichweather)
Reply
#15
Hello
I use iframe of Blitzortung map on my weather site (https://meteo-auffargis.decoodt.eu "Foudre et éclairs" tab)
At each time I go to this page I have a window "this site use cookies" and the answer is not memorized on the computer or mobile. ALso whe I return to this page, I have always this window!!

I have tested cookies=0 in iframe line, but no effect.
Do you have the same problem?
Have you a solution?

I hope that I am on the right part of forum.

Thank's a lot for your help
Reply
#16
(2020-12-06, 15:42)ddperso Wrote: Hello
I use iframe of Blitzortung map on my weather site (https://meteo-auffargis.decoodt.eu "Foudre et éclairs" tab)
At each time I go to this page I have a window "this site use cookies" and the answer is not memorized on the computer or mobile. ALso whe I return to this page, I have always this window!!

I have tested cookies=0 in iframe line, but no effect.
Do you have the same problem?
Have you a solution?

I hope that I am on the right part of forum.

Thank's a lot for your help
Code:
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta charset="utf-8">

    <meta name="dcterms.created" content="Sun, 06 Dec 2020 16:50:02 GMT">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <title></title>
        <style>

  #hedd {z-index:20;position:relative;height:306px;margin-bottom:00px;
  border:.2vw solid #909090;
    border-radius:23px;
  margin-left:0;
        width:406px;
    }
  #hedd iframe {
    display: block;       /* iframes are inline by default */
    background: transparent;
    border: none;         /* Reset default border */
    height: 300px;        /* Viewport-relative units */
    width: 400px;
  margin-left:0px;
    border:6px solid #555555;
    border-radius:20px;
   
  }
</style>
    <!--[if IE]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
<div id="hedd">
          <iframe name="content_frame" src=
"https://map.blitzortung.org/index.php?interactive=0&amp;NavigationControl=0&amp;FullScreenControl=0&amp;Cookies=0&amp;InfoDiv=0&amp;MenuButtonDiv=0&amp;ScaleControl=0&amp;LinksCheckboxChecked=1&amp;LinksRangeValue=10&amp;MapStyle=0&amp;CirclesCheckboxChecked=0;MapStyleRangeValue=10&amp;Advertisment=0#1.72/37.1/-95.21"
          id="content_frame" ></iframe>
        </div>
  </body>
</html>
This example should work fine if you set your variables to suit.. Convert all "&" to "&amp;"
   


Stations: 689, 791, 1439, 3020
Reply
#17
Many thank's Cutty for this quick answer
It's works perfectly!
Reply
#18
Greetings,

I have a couple of the maps suggested on the original post of this thread on my website. For the last month or so the 'Cookies' and the 'Advertisment' specifically no longer work. I have received complaints from some of my regular visitors. Has something changed? Possibly there are new parameters or something I have over looked?

Comments and ideas appreciated.

Ralph Lee
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)