Author Topic: Bing Maps radar page  (Read 1962 times)

0 Members and 1 Guest are viewing this topic.

Offline oh65WX

  • Member
  • *
  • Posts: 5
    • oh65 Weather
Re: Bing Maps radar page
« Reply #25 on: January 29, 2021, 10:02:57 AM »
@the beteljuice,

Thanks for the time positioning help, great addition.  From what I can see, Bing Maps must not care about the authorization key anymore?  They ask for the url of the map it'll be used on, so one would expect that would be coded into the key.

- Jim

It doesn't  need the key do work at all, but it charges the hits to the account associated with the key, (mine).  Please just delete it out of the file.  It's in two places.  I assume that you could use the map indefinitely without it.  Especially for non-com usage.

Scott
« Last Edit: January 29, 2021, 10:04:33 AM by oh65WX »

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2292
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Bing Maps radar page
« Reply #26 on: February 05, 2021, 01:57:33 AM »
But mine has an old problem in which the drop down menus disappear behind the map.  Is there a easy trick to fix this?  This didn't work:

 #menu {
  position: relative;
  z-index: -9999;
}

https://stillwaterweather.com/newwxradar

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/wx/2ndhome.php

Online the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 292
    • test site
Re: Bing Maps radar page
« Reply #27 on: February 05, 2021, 02:04:03 AM »
z-index 9999 (positive)
Imagine what you will KNOW tomorrow !

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2292
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Bing Maps radar page
« Reply #28 on: February 05, 2021, 03:29:14 PM »
Thank you, but sorry that didn't work positioned in css as such:

#menu {
  position: relative;
  z-index: -9999;
}
#menu{width:1005px;height:48px;background:#000;border-bottom:1px solid #aaa;z-index:9999;}
#menu ul{margin:0;padding:0;list-style:none;white-space:nowrap;text-align:left;}
#menu ul{float:left;}
#menu li{display:inline-block;display:inline;}
#menu ul ul{position:absolute;display:none;left:0;top:36px;border:1px solid #aaa;}
#menu ul.level1 li.level1-li{float:left;display:block;position:relative;}
#menu ul{background:#000;}
#menu span,............and so on.

I'll probably have to shorten the drop down menus for that page only.  Or try another menu.  Or try putting it on a new saratoga page.
« Last Edit: February 05, 2021, 03:31:53 PM by Bunty »

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/wx/2ndhome.php

Online the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 292
    • test site
Re: Bing Maps radar page
« Reply #29 on: February 05, 2021, 05:47:03 PM »
Hmm .. you have z-index in two places.
This one is still negative.
Code: [Select]
#menu {
  position: relative;
  z-index: -9999;
}
You should be able to experiment by going into "developer" in your browser and edit the CSS style.
Imagine what you will KNOW tomorrow !

Online the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 292
    • test site
Re: Bing Maps radar page
« Reply #30 on: February 07, 2021, 05:53:04 PM »
@Bunty ...

OK - you've removed the other (#menu) z-index entry, but the first entry is still -9999

60's speak - stop it with the negativity man  \:D/
Imagine what you will KNOW tomorrow !

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2292
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Bing Maps radar page
« Reply #31 on: February 08, 2021, 04:47:51 AM »
I soon gave up with z-index, and it occurred to me to try switching from a black to white background.  It worked!  Thanks.  However, I think I'd sooner have "Stillwater" than the "Here I am" marker, like on a previous version. 

https://stillwaterweather.com/newwxradar




Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/wx/2ndhome.php

Online the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 292
    • test site
Re: Bing Maps radar page
« Reply #32 on: February 08, 2021, 07:42:42 AM »
You can change the mouse-over text, or not have the marker at all.
They are user variables.
Imagine what you will KNOW tomorrow !

Offline weathergirl

  • Forecaster
  • *****
  • Posts: 677
    • Beamsville Weather Station
Re: Bing Maps radar page
« Reply #33 on: February 19, 2021, 11:53:54 AM »
Do I require a Bing Key to use this?
Ann-Marie
Beamsville, Ontario, Canada

Online the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 292
    • test site
Re: Bing Maps radar page
« Reply #34 on: February 19, 2021, 07:07:30 PM »
None of the offerings require a 'key' - if you do use the Bing map version see post top of this page.
Imagine what you will KNOW tomorrow !

Offline Silversword

  • --Stan Y.
  • Forecaster
  • *****
  • Posts: 512
    • Up Country Maui Weather
Re: Bing Maps radar page
« Reply #35 on: February 23, 2021, 02:52:43 PM »
Hi All,

Anyone put this Bing radar map on wxxxxx.php format? If so, can you share the script?

Aloha,

--Stan Y.
   Maui, Hawaii
Stan Y. - KH6HHG - Maui, Hawaii --- Blitzortung ID: 993 --- FlightRadar24 ID: F-PHOG1
Weather Display 10.37s Build 120
WDL 6.05
MS Windows 7 Pro
Dell Optiplex GX280-Intel Pentium 4 CPU 3.00GHz, 4 GB RAM
Davis Vantage Pro 2+ Wireless
1-Wire Lighting
Webcam: Axis 211

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 116
    • Atglen Borough Weather Observatory
Re: Bing Maps radar page
« Reply #36 on: March 02, 2021, 09:55:28 AM »
I'd be interested in that too Stan!

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 497
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Bing Maps radar page
« Reply #37 on: March 03, 2021, 04:42:22 AM »
Anyone put this Bing radar map on wxxxxx.php format? If so, can you share the script?

This is something that you  can easily do yourself.  The set of pages that you downloaded for your site likely had  a page named "wxtemplate" or similar that has all of the standard things in it and only lacks the meat of the page.  Make a copy of that and add the map css and javascript to the head section, and body code from one of the examples.  You can obtain this code by right clicking on an example map then "view source".

If you don't have a template page it would be good to create one.  Take one of your site pages, strip the body code out and save for use some other day.

- Jim
« Last Edit: March 03, 2021, 04:48:46 AM by jmcmurry »

Forum Search and Google Can be Your Best Friends

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 116
    • Atglen Borough Weather Observatory
Re: Bing Maps radar page
« Reply #38 on: March 03, 2021, 03:20:29 PM »
Thanks Jim and I got it :-)   I'm not a programmer so I was excited (lol)

 

anything