CodeForAfrica / HURUmap-apps

HURUmap is an interactive web platform that helps journalists and civic watchdogs easily explore and download census or other demographic data. The toolkit includes shareable and customisable infographics. Accessible at https://hurumap.org
https://hurumap.org
13 stars 16 forks source link

Map should be displayed on home page #6

Closed DavidLemayian closed 8 years ago

DavidLemayian commented 8 years ago

From a user test @JustinArenstein carried out, more people interacted with the data sooner and with less questions when the map was on the homepage compared to having to click the "Browse Kenya" button.

longhotsummer commented 8 years ago

See also https://github.com/Code4SA/wazimap/issues/4

longhotsummer commented 8 years ago

I don't have push perms for this repo and I'm too lazy to make a pull request right now. Here's the change you need to make for this to work:

(wazimap-ke)[greg@Otak [12:16:43] ~/coding/code4sa/wazimap-ke (homepage-map)]
$ git l -p
* 4b2b410 - (HEAD, homepage-map) Require wazimap 0.2.5 (3 minutes ago) <Greg Kempe>|
| diff --git a/requirements.txt b/requirements.txt
| index 447d07f..8a07631 100644
| --- a/requirements.txt
| +++ b/requirements.txt
| @@ -3,4 +3,4 @@ gevent==1.0.1
|  greenlet==0.4.6
|  gunicorn==18.0
|  newrelic==2.40.0.34
| -wazimap==0.2.4
| +wazimap==0.2.5

* 5dbe735 - Map centre and zoom for homepage map. (4 minutes ago) <Greg Kempe>|
| diff --git a/wazimap_ke/settings.py b/wazimap_ke/settings.py
| index 93040a0..2d4bdd4 100644
| --- a/wazimap_ke/settings.py
| +++ b/wazimap_ke/settings.py
| @@ -37,3 +37,5 @@ WAZIMAP['geometry_data'] = {
|
|  WAZIMAP['ga_tracking_id'] = 'UA-44795600-8'
|  WAZIMAP['twitter'] = '@Code4Africa'
| +WAZIMAP['map_centre'] = [0.3051933453207569, 37.908818734483155]
| +WAZIMAP['map_zoom'] = 6
DavidLemayian commented 8 years ago

@longhotsummer Oh snap.. Had changed some global perms. Sorry about that. You have now. ;)