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>



RE: Live images on own websites - Egon - 2020-02-20

It now also works via "https".

The remaining websites are still being converted.

/Egon


RE: Live images on own websites - rf-leo - 2020-06-22

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


RE: Live images on own websites - rf-leo - 2020-07-20

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


RE: Live images on own websites - Sleepypup - 2020-07-20

(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.


RE: Live images on own websites - harwichweather - 2020-07-21

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)


RE: Live images on own websites - Sleepypup - 2020-07-23

(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


RE: Live images on own websites - harwichweather - 2020-07-24

Looks like it’s now working correctly for me as well.
Thanks for fixing it.
Stay safe...
Byron (harwichweather)


RE: Live images on own websites - ddperso - 2020-12-06

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


RE: Live images on own websites - cutty - 2020-12-06

(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;"
   


RE: Live images on own websites - ddperso - 2020-12-06

Many thank's Cutty for this quick answer
It's works perfectly!


RE: Live images on own websites - rwlee - 2021-03-08

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