consolidate php
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user