Jump to content

KAOS

Members
  • Posts

    1,445
  • Joined

  • Last visited

Everything posted by KAOS

  1. DEPRECATED Tada... https://kaosfactory.github.io/miniapp.html
  2. I will clean this code up some and post link.
  3. I have made some modifications.... I
  4. https://kaosfactory.github.io/Winds.html New stuff is all beta... more or less.
  5. Link to even less resource dependent mobile version of Intellistar Emulator.... https://kaosfactory.github.io/mobileX.html Link to TWC (MapBox) static radar... https://kaosfactory.github.io/staticradarX.html
  6. Tropical... https://kaosfactory.github.io/Tropical.html#6.53/31.896/-89.48
  7. Standard alerts... https://kaosfactory.github.io/MapBoxGLalerts.html
  8. https://kaosfactory.github.io/MapBoxGLcustomalerts.html
  9. Everything is animated.... winds, radar, alerts. 12 hour history in a loop with controls to start, stop and reload. The timeline slider is interactive. You can select any time frame within -12 hours. Move mouse over data points (radar, aleets, etc). and a "popup" containing the data appears..
  10. Intellistar storm mode activated for 21123
  11. The nws weather data fetching script (MobileX1.js) needs to be edited in order to pass the correct url using lat, lng, etc parameters to the iframes. radarImage.setAttribute("src", "alkurl.html?lng=" + longitude + "&lat=" + latitude + "&zoom=8"); Here is an example using predefined url parameters (everything after the "?") https://kaosfactory.github.io/alkurl.html?lng=-76&lat=39&zoom=8 If you change the lng, lat, zoom values (in the link above) it will automatically "go to" that location. Result... https://kaosfactory.github.io/mobileX1.html
  12. Mapbox hash not working as well as expected. Using ALK OpenLayers maps in this example, but can be used with others such as mapbox. Inserted the following code to retrieve url parameters for lng, lat, and zoom. getParameter = (key) => { // Address of the current window address = window.location.search // Returns a URLSearchParams object instance parameterList = new URLSearchParams(address) // Returning the respected value associated // with the provided key return parameterList.get(key) } // Gets the value associated with the keys "lng, lat, zoom" console.log(getParameter("lng")) console.log(getParameter("lat")) console.log(getParameter("zoom")) //Variables var lng = (getParameter("lng")) var lat = (getParameter("lat")) var zoom = (getParameter("zoom"))
×
×
  • Create New...