<?php
require_once __DIR__ . '/../app/core/bootstrap.php';
$pdo = crm_pdo();
$stmt = $pdo->query("SELECT city, latitude, longitude FROM projects WHERE latitude IS NOT NULL LIMIT 10");
echo json_encode($stmt->fetchAll(PDO::FETCH_ASSOC));
