Author Topic: Map display on wxnws-details.php  (Read 245 times)

0 Members and 1 Guest are viewing this topic.

Offline RickNY

  • Contributor
  • ***
  • Posts: 106
    • College Hills Weather - Farmingville, NY
Map display on wxnws-details.php
« on: April 26, 2019, 01:07:40 PM »

Would it be terribly difficult to change the maps used on the wxnws-details.php page to OSM or another map provider instead of Google?  I just kind of discovered it by accident because I have the page set to only display the maps when polygon data is received for a warning -- and got hit with the "Is this your page?" message because I dont have billing enabled with Google.

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 578
    • Lake Huron Weather
Re: Map display on wxnws-details.php
« Reply #1 on: April 26, 2019, 01:58:47 PM »
Interesting you bring this up, I too have just recently had the same experience.  Either changing the map or deleting it would not be a bad idea, will wait for others to chime in.

Davis Vantage Pro2, Serial Data Logger
WD 10.37S-(b60), VWS V15.00p03, Weatherlink 6.0.3,  Fling 2.35, Broadwave 2.0, Win 7 Pro 64Bit
KMICHEBO10 - CW3699 - Cheboygan, MI

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1769
    • Echo Valley Weather
Re: Map display on wxnws-details.php
« Reply #2 on: April 26, 2019, 05:03:50 PM »
I would think removing your Google Map key should do the trick in terms of not making the map appear.

Look for $googleAPI = in your nws-alert-config file, and possibly in your Settings.php file if you are using the Saratoga template.

John
« Last Edit: April 26, 2019, 05:06:07 PM by sacreyweather »
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline RickNY

  • Contributor
  • ***
  • Posts: 106
    • College Hills Weather - Farmingville, NY
Re: Map display on wxnws-details.php
« Reply #3 on: April 26, 2019, 05:37:49 PM »
Its not a problem to turn the map off there is a setting in the config for that script not to display it. Id like to change it over to use OpenStreet maps like some of the other pages have been converted over to do.

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1769
    • Echo Valley Weather
Re: Map display on wxnws-details.php
« Reply #4 on: April 26, 2019, 05:43:10 PM »
The changing of the map may be on Ken's radar, as I believe he is the one maintaining this script now.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 578
    • Lake Huron Weather
Re: Map display on wxnws-details.php
« Reply #5 on: April 26, 2019, 06:26:30 PM »
Its not a problem to turn the map off there is a setting in the config for that script not to display it. Id like to change it over to use OpenStreet maps like some of the other pages have been converted over to do.

Thanks for the info Rick, I did not see that setting in the config file.

Davis Vantage Pro2, Serial Data Logger
WD 10.37S-(b60), VWS V15.00p03, Weatherlink 6.0.3,  Fling 2.35, Broadwave 2.0, Win 7 Pro 64Bit
KMICHEBO10 - CW3699 - Cheboygan, MI

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7381
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Map display on wxnws-details.php
« Reply #6 on: April 27, 2019, 01:07:33 PM »
Yes, I've got a change to use OpenStreetMaps for the nws-alerts script set on my platter.. (there's a lot on that platter), so no ETA on when it might be completed at this time.  Just turn off the Google Map for now if you don't have a key.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 578
    • Lake Huron Weather
Re: Map display on wxnws-details.php
« Reply #7 on: April 27, 2019, 02:42:01 PM »
No worries Ken.

Also just to clarify - I do have a key yet kept getting the "Is this your page" message, it actually just started showing up recently.  I did turn off the map function as mentioned.

Davis Vantage Pro2, Serial Data Logger
WD 10.37S-(b60), VWS V15.00p03, Weatherlink 6.0.3,  Fling 2.35, Broadwave 2.0, Win 7 Pro 64Bit
KMICHEBO10 - CW3699 - Cheboygan, MI

 

anything