aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-wmts-bristol.js
Commit message (Collapse)AuthorAgeLines
* Improve use of OL ArgParser/missing zoom in URL.Matthew Somerville2019-02-04-1/+1
| | | | | | Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs.
* [Zurich] Fix map offset bug.Matthew Somerville2017-09-20-9/+0
| | | | | | | | | 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.
* Fix linting errorspezholio2017-05-23-4/+5
|
* [Bristol] Upgrade to OpenLayers master (with WFS).Matthew Somerville2016-11-11-4/+13
| | | | Including WFS for forthcoming assets layers.
* Fix broken permalink link.Matthew Somerville2016-08-19-7/+5
| | | | | | The map JavaScript assumes that the permalink div already exists. [Bristol] Make sure the control is added.
* Tweak WMTS JavaScript to match merged branch.Matthew Somerville2016-07-11-3/+3
| | | | Use $.each rather than .forEach.
* Merge branch '1351-report-list-ajax'Matthew Somerville2016-07-11-5/+5
|\
| * Tidy up JavaScript functions.Matthew Somerville2016-07-11-5/+5
| | | | | | | | Split big functions into smaller more descriptive ones.
* | [Zurich] Use new LV95/CH1903+ geocoder and base map tilesDave Arter2016-07-07-45/+2
|/ | | | | | | | | | | - 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/+176
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.