Add function to get canvas lat/lng