Posts: 899
Threads: 55
Joined: 2012-06-26
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
Posts: 296
Threads: 9
Joined: 2014-07-21
thanks for sharing the fun Egon
Posts: 4
Threads: 2
Joined: 2014-01-28
Super and can you change the location there?
and zoom
Posts: 899
Threads: 55
Joined: 2012-06-26
2019-12-17, 20:47
(This post was last modified: 2019-12-17, 20:49 by Egon.)
(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).
Posts: 53
Threads: 16
Joined: 2012-08-01
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
Posts: 296
Threads: 9
Joined: 2014-07-21
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
Posts: 1,800
Threads: 63
Joined: 2013-07-23
(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>
Posts: 899
Threads: 55
Joined: 2012-06-26
It now also works via "https".
The remaining websites are still being converted.
/Egon
Posts: 3
Threads: 0
Joined: 2013-03-29
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
Posts: 3
Threads: 0
Joined: 2013-03-29
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
Posts: 30
Threads: 3
Joined: 2019-05-02
(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.
Posts: 4
Threads: 0
Joined: 2019-05-16
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 )
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)
Posts: 30
Threads: 3
Joined: 2019-05-02
(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
Posts: 4
Threads: 0
Joined: 2019-05-16
Looks like it’s now working correctly for me as well.
Thanks for fixing it.
Stay safe...
Byron (harwichweather)
Posts: 2
Threads: 0
Joined: 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
Posts: 1,800
Threads: 63
Joined: 2013-07-23
2020-12-06, 17:02
(This post was last modified: 2020-12-06, 17:08 by cutty.)
(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&NavigationControl=0&FullScreenControl=0&Cookies=0&InfoDiv=0&MenuButtonDiv=0&ScaleControl=0&LinksCheckboxChecked=1&LinksRangeValue=10&MapStyle=0&CirclesCheckboxChecked=0;MapStyleRangeValue=10&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 "&"
Posts: 2
Threads: 0
Joined: 2020-12-06
Many thank's Cutty for this quick answer
It's works perfectly!
Posts: 22
Threads: 5
Joined: 2020-11-21
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
|