diff options
author | luxagraf <sng@luxagraf.net> | 2015-06-16 14:09:56 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-06-16 14:09:56 +0000 |
commit | 20444df4f6f96e5f7afdb22f91bd76476a453fa1 (patch) | |
tree | c33c9eab6fd56ceed459cb086e1a852e6876d88a /app/birds/admin.py | |
parent | fc5b5bcdc5c3c87c3818cb4c2ddccc0ce137925e (diff) |
fixed map bugs in birds app
Diffstat (limited to 'app/birds/admin.py')
-rw-r--r-- | app/birds/admin.py | 8 |
1 files changed, 5 insertions, 3 deletions
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 |