Author Topic: Wind direction  (Read 643 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Wind direction
« on: February 11, 2015, 06:46:01 PM »
I'm trying to get the original .png wind direction to be .gif it seems to load with the .gif but after realtime.txt loads it takes it back to .png any ideas on how to make this 100% .gif? http://gosportwx.com/

mike
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline weatherbee

  • Senior Contributor
  • ****
  • Posts: 211
    • Sherman Ct. Weather
Re: Wind direction
« Reply #1 on: February 12, 2015, 12:12:09 PM »
I think you would have to edit ajaxWDws.js
Code: [Select]
// optional settings for the Wind Rose graphic in ajaxwindiconwr as wrName + winddir + wrType
var wrName   = 'wr-';       // first part of the graphic filename (followed by winddir to complete it)
var wrType   = '.gif';      // extension of the graphic filename
var wrHeight = '58';        // windrose graphic height=
var wrWidth  = '58';        // windrose graphic width=
var wrCalm   = 'wr-calm.gif';  // set to full name of graphic for calm display ('wr-calm.gif')
// -- end of settings -------------------------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: Wind direction
« Reply #2 on: February 13, 2015, 05:01:14 PM »
got it thanks :)
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

 

anything