Skip to content

Commit

Permalink
Merge pull request #413 from wearepal/rename-sussex-weald
Browse files Browse the repository at this point in the history
Update hardcoded extent name for Sussex Weald Constituency
  • Loading branch information
paulthatjazz authored Aug 22, 2024
2 parents f1fcf5a + 9b50be8 commit 5c0ff00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/projects/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

const hardcoded_extents = [
//{ id: -1, name: "✨Wealden", value: [ -4034.29345383, 6591225.55995304, 44295.78978777, 6647418.730598 ], layer_source: "shapefiles:westminster_const", layer_cql: "Name='Wealden Co Const'" },
//{ id: -3, name: "✨Sussex Weald (2024)", value: [ 2080.11226102, 6592345.75156747, 44298.87523018, 6647418.1918753 ], layer_source: "shapefiles:bdline_gb__westminster_const", layer_cql: "Name='Sussex Weald Co Const'" },
{ id: -3, name: "✨Sussex Weald Constituency", value: [ 2080.11226102, 6592345.75156747, 44298.87523018, 6647418.1918753 ], layer_source: "shapefiles:bdline_gb__westminster_const", layer_cql: "Name='Sussex Weald Co Const'" },
{ id: -2, name: "✨Brighton Pravilion", value: [ -21125.72504206, 6589221.35051539, -9227.54925854, 6602279.95570845 ], layer_source: "shapefiles:westminster_const", layer_cql: "Name='Brighton, Pavilion Boro Const'" },
{ id: -4, name: "✨Wealden District Council", value: [ -4034.29345383, 6574916.01820335, 50108.2508596, 6647418.730598 ], layer_source: "shapefiles:district_borough_unitary", layer_cql: "Name='Wealden District'" },
]
Expand Down
2 changes: 1 addition & 1 deletion app/views/projects/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

const hardcoded_extents = [
//{ id: -1, name: "✨Wealden", value: [ -4034.29345383, 6591225.55995304, 44295.78978777, 6647418.730598 ], layer_source: "shapefiles:westminster_const", layer_cql: "Name='Wealden Co Const'" },
//{ id: -3, name: "✨Sussex Weald (2024)", value: [ 2080.11226102, 6592345.75156747, 44298.87523018, 6647418.1918753 ], layer_source: "shapefiles:bdline_gb__westminster_const", layer_cql: "Name='Sussex Weald Co Const'" },
{ id: -3, name: "✨Sussex Weald Constituency", value: [ 2080.11226102, 6592345.75156747, 44298.87523018, 6647418.1918753 ], layer_source: "shapefiles:bdline_gb__westminster_const", layer_cql: "Name='Sussex Weald Co Const'" },
{ id: -2, name: "✨Brighton Pravilion", value: [ -21125.72504206, 6589221.35051539, -9227.54925854, 6602279.95570845 ], layer_source: "shapefiles:westminster_const", layer_cql: "Name='Brighton, Pavilion Boro Const'" },
{ id: -4, name: "✨Wealden District Council", value: [ -4034.29345383, 6574916.01820335, 50108.2508596, 6647418.730598 ], layer_source: "shapefiles:district_borough_unitary", layer_cql: "Name='Wealden District'" },
]
Expand Down

0 comments on commit 5c0ff00

Please sign in to comment.