From 20444df4f6f96e5f7afdb22f91bd76476a453fa1 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 16 Jun 2015 14:09:56 +0000 Subject: fixed map bugs in birds app --- app/birds/admin.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app/birds/admin.py') diff --git a/app/birds/admin.py b/app/birds/admin.py index 1cc905d..7bcaab2 100644 --- a/app/birds/admin.py +++ b/app/birds/admin.py @@ -9,7 +9,11 @@ def convertll(lat, lon): return pnt.y, pnt.x -lat, lon = convertll(29.658057, -84.867797) +# Florida: lat, lon = convertll(29.658057, -84.867797) +# Athens: +lon = -9285175 +lat = 4025046 + class BirdClassAdmin(admin.ModelAdmin): list_display = ('common_name', 'scientific_name',) @@ -44,8 +48,6 @@ class BirdSightingAdmin(OSMGeoAdmin): ), ) # options for OSM map Using custom ESRI topo map - #default_lon = -9285175 - #default_lat = 4025046 default_lon = lon default_lat = lat default_zoom = 13 -- cgit v1.2.3-70-g09d2