Skip to content

Commit

Permalink
[Bristol] Change to OS Maps API tiles.
Browse files Browse the repository at this point in the history
The asset layer configuration will need updating to remove the
Bristol-specific max_resolution lines.
  • Loading branch information
dracos committed Feb 17, 2023
1 parent 8d58ccc commit fb58aa3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 114 deletions.
4 changes: 2 additions & 2 deletions perllib/FixMyStreet/Cobrand/Bristol.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ sub council_area { return 'Bristol'; }
sub council_name { return 'Bristol County Council'; }
sub council_url { return 'bristol'; }

=item * Bristol uses its own mapping tiles
=item * Bristol use the OS Maps API at all zoom levels.
=cut

sub map_type { 'Bristol' }
sub map_type { 'OS::API' }

=item * Users with a bristol.gov.uk email can always be found in the admin.
Expand Down
42 changes: 0 additions & 42 deletions perllib/FixMyStreet/Map/Bristol.pm

This file was deleted.

4 changes: 0 additions & 4 deletions t/map/tests.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@ use Test::More;

my $requires = {
'Bing' => 'map-bing-ol.js',
'Bristol' => 'map-wmts-bristol.js',
'Bromley' => 'map-fms.js',
'CheshireEast' => 'map-cheshireeast.js',
'FMS' => 'map-fms.js',
'Google' => 'map-google.js',
'GoogleOL' => 'map-google-ol.js',
'HighwaysEngland' => 'map-fms.js',
'Hounslow' => 'map-wmts-hounslow.js',
'Lincolnshire' => 'lincolnshire/assets.js',
'MasterMap' => 'map-mastermap.js',
'OS::FMS' => 'map-fms-os.js',
'OS::API' => 'map-os.js',
'OS::Premium' => 'map-os.js',
'OSM' => 'OpenStreetMap.js',
'OSM::CycleMap' => 'OpenStreetMap.js',
'OSM::StreetView' => 'map-streetview.js',
Expand Down
66 changes: 0 additions & 66 deletions web/js/map-wmts-bristol.js

This file was deleted.

0 comments on commit fb58aa3

Please sign in to comment.