consolidate php

This commit is contained in:
2025-12-09 00:20:32 +00:00
parent a7b6c529a9
commit eba6536050
44 changed files with 3458 additions and 4911 deletions

View File

@@ -151,7 +151,7 @@ olddiv.innerHTML = '';
$.getJSON('warntrack.php', function(data){
$.getJSON('main.php?service=warntrack', function(data){
// console.log(data);
//check if data has no data
if (data.features != null) {
@@ -176,7 +176,7 @@ function refresh_data() {
//{
// elem.parentNode.removeChild(elem);
//}
$.getJSON('warntrack.php', function(data){
$.getJSON('main.php?service=warntrack', function(data){
// console.log(data);
//check if data has no data
if (data.features != null) {
@@ -338,7 +338,7 @@ return color
function update_position() {
//initial_county_load();
$.getJSON('warntrack.php', function(data2) {
$.getJSON('main.php?service=warntrack', function(data2) {
var geojsonsvr = data2;
geoJSONsvr.clearLayers();
geoJSONsvr.addData(geojsonsvr);