consolidate php
This commit is contained in:
4
map.html
4
map.html
@@ -235,7 +235,7 @@ camlayer = L.layerGroup();
|
||||
|
||||
|
||||
|
||||
$.getJSON('cam.php', function(data){
|
||||
$.getJSON('main.php?service=cams', function(data){
|
||||
var wild = Math.random();
|
||||
for(var i in data){
|
||||
//var greenIcon = new LeafIcon({iconUrl: 'camdata/' + data[i].lastimage})
|
||||
@@ -274,7 +274,7 @@ function onMarkerNotHover(itemsID){
|
||||
function updateIcon() {
|
||||
var wild = Math.random();
|
||||
|
||||
$.getJSON('cam.php', function(data){
|
||||
$.getJSON('main.php?service=cams', function(data){
|
||||
for(var i in data){
|
||||
//var greenIcon = new LeafIcon({iconUrl: 'camdata/' + data[i].lastimage});
|
||||
var greenIcon = new LeafIcon({iconUrl: 'camdata/' + data[i].camid + "/latest.jpg"})
|
||||
|
||||
Reference in New Issue
Block a user