summaryrefslogtreecommitdiff
path: root/app/sightings
diff options
context:
space:
mode:
Diffstat (limited to 'app/sightings')
-rw-r--r--app/sightings/admin.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/sightings/admin.py b/app/sightings/admin.py
index e5e5aaf..681568d 100644
--- a/app/sightings/admin.py
+++ b/app/sightings/admin.py
@@ -106,15 +106,16 @@ class SightingAdmin(GISModelAdmin):
autocomplete_fields = ["ap"]
# options for OSM map Using custom ESRI topo map
lat, lon = get_latlon()
+ print(lat, lon)
gis_widget_kwargs = {
"attrs": {
"default_lon": lon,
"default_lat": lat,
- "default_zoom": 6,
- "map_width": 700,
- "map_height": 425,
- "map_template": 'gis/admin/osm.html',
- "openlayers_url": '/static/admin/js/OpenLayers.js'
+ "default_zoom": 13,
+ "map_width": 900,
+ "map_height": 625,
+ #"map_template": 'gis/admin/osm.html',
+ #"openlayers_url": '/static/admin/js/OpenLayers.js'
}
}