Updated MapsEngine.php