spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

GMAG availability page: map is not shown anymore #120

Closed nickssl closed 8 months ago

nickssl commented 8 months ago

GMAG availability page does not show a map anymore:

https://themis.ssl.berkeley.edu/gmag/gmag_list.php

This page uses Google Maps, with a free API key from Google. One possibility is that the Google Maps API has been changed.

nickssl commented 8 months ago

Fixed.

The main reason for the problem was the transition from HTTP to HTTPS. This required a few adjustments:

  1. The https web sites are considered to be separate web sites and need to be added to the list of sites that can use the google maps API key.
  2. The javascript code gives warnings and sometimes errors if an https page is calling routines from http locations because these are considered insecure. There are many places where http://themis is hard coded, and this may cause problems.
  3. One function became obsolete and had to be replaced by an equivalent function. This happens from time to time with APIs.
  4. Some other minor fixes and improvements were completed. For example, fixed the Themis icon that is shown on the browser tab.