From 5bb80ec2e357b396548bfd61529f957677c44016 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 3 Feb 2013 12:51:57 +0000 Subject: Improve formatting --- resources/map.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'resources') diff --git a/resources/map.js b/resources/map.js index 01c902b..a7c26d0 100644 --- a/resources/map.js +++ b/resources/map.js @@ -126,9 +126,9 @@ function displayMap(self, map) { if (numberOfSettlementsWithoutPopulation != 0) { if (numberOfSettlementsWithoutPopulation == 1) { - population = population + " (but " + numberOfSettlementsWithoutPopulation + " has no population set)"; + population = population + " (but " + numberOfSettlementsWithoutPopulation + " settlement has no population set)"; } else { - population = population + " (but " + numberOfSettlementsWithoutPopulation + " have no population set)"; + population = population + " (but " + numberOfSettlementsWithoutPopulation + " settlements have no population set)"; } } @@ -256,11 +256,11 @@ $(document).ready(function() { \

Catchment Area

\ \ -\ -\ -\ -\ -\ +\ +\ +\ +\ +\
Surface Area<%= properties["area"] %>
Number of Settlements<%= properties["number_of_settlements"] %>
Population<%= properties["population"] %>
Furthest distance from settlement to health structure<%= properties["greatest_settlement_dist"] %>
Average distance of all settlements from health structure<%= properties["average_settlement_dist"] %>
Surface Area<%= properties["area"] %>
Number of Settlements<%= properties["number_of_settlements"] %>
Population<%= properties["population"] %>
Furthest distance from settlement to health structure<%= properties["greatest_settlement_dist"] %>
Average distance of all settlements from health structure<%= properties["average_settlement_dist"] %>
'); self.tileLayer = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { -- cgit v1.2.3