aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Bristol.pm
Commit message (Collapse)AuthorAgeLines
* [UK] Make sure all asset JS in footer_extra.Matthew Somerville2019-07-10-2/+0
| | | | | This provides consistent ordering of loading, and makes it easier to change map type and maintain assets.
* [UK Councils] Use shared template files for WMTS base mapsDave Arter2019-05-28-2/+0
|
* [Buckinghamshire] use buckinghamshire map tilesStruan Donald2019-05-16-44/+6
| | | | | Add a WMTS config to use Buckinghamshire's own map tiles to display house numbers.
* [UK] Pull in cobrand asset files on national site.Struan Donald2018-08-03-1/+1
| | | | | | | Also add body name to layer defaults, so they are only used where appropriate. Switch mapit area javascript calls to GeoJSON, so we can drop KML support in OpenLayers.wfs.js which saves a small amount of bandwidth.
* [UK] Make sure jQuery is loaded where it is neededMatthew Somerville2017-12-12-0/+2
| | | | | | | Bromley uses jQuery for its A-Z on all pages; only load Bristol map JavaScript on map pages (same as Angus); drop Oxfordshire JS use of jQuery; fix Zurich load order; and improve jQuery checking in other JavaScript.
* Move map JS to code, to be used on all pages.Matthew Somerville2017-11-15-0/+7
|
* [Zurich] Fix map offset bug.Matthew Somerville2017-09-20-6/+2
| | | | | | | | | The upgrade to OpenLayers in 31b8337e3 was not accompanied by fixing the tileOrigin manually tweaked as an old workaround. This moved the map c. 100m out of alignment. Bristol fixed this in a7f60abb by adding topLeftCorners, but this is better done by fixing origin_x/y.
* [Bromley] Fix map tiles.Matthew Somerville2016-11-18-3/+1
| | | | | The change to remove inline JavaScript stopped the Bromley-specific tiles from working. Put them back with an extra JavaScript file.
* [Zurich] Use new LV95/CH1903+ geocoder and base map tilesDave Arter2016-07-07-2/+6
| | | | | | | | | | | - Use new `getLocation95` method for geocoding addresses - Replace Coordinates::CH1903 with Coordinates::CH1903Plus - Refactor Map::Zurich to use WMTSBase instead of duplicating code - Slightly refactor map templates to make using custom WMTS tiles easier - Use correct sizes for marker pins on maps Closes mysociety/FixMyStreet-Commercial#769. Closes mysociety/FixMyStreet-Commercial#768.
* [Bristol] Use BCC's base map tilesDave Arter2016-06-17-0/+77
This refactors the Map::Zurich module into something that makes it easier to use custom map tiles for a cobrand. This also includes some refactoring of the JS & map templates to make it easier to use a custom WMTS base map in future cobrands.