sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
300 B

<?php
error_reporting(1);
$count = $_GET['count'] ? $_GET['count'] : 10;
$start = $_GET['start'] ? $_GET['start'] : 1;
echo "{items:[\n";
for ($i = $start; $i < $start + $count; $i++) {
echo "{label:'Item #" . $i . "'}";
if ($i < $start + $count - 1) {
echo ",";
}
echo "\n";
}
echo "]}\n";
?>