aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Zurich.pm
Commit message (Collapse)AuthorAgeLines
* [Zurich] Use HTTPS map tiles, update OpenLayers.Matthew Somerville2018-08-22-2/+2
|
* [Zurich] Update to new map server.Matthew Somerville2018-05-23-6/+6
|
* 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] Fix server side map tile URL generation.Matthew Somerville2016-08-17-2/+2
| | | | | | @scales does not include the hidden zoom levels, so we need to offset the matrix ID to be correct in the URL but not do so to calculate the tile row and column.
* [Zurich] Use new LV95/CH1903+ geocoder and base map tilesDave Arter2016-07-07-233/+63
| | | | | | | | | | | - 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.
* [Zurich] Use protocol relative map tiles.Matthew Somerville2016-03-30-1/+1
|
* [Zurich] Add maps to Zurich admin report print viewZarino Zappia2015-10-06-31/+124
| | | | | | | | | | | | | | | | - Includes a small map at the top of the first page and a second full-width map on a separate page. - upgrades tiles to the new 512px ones already used by JS as implemented in https://github.com/mysociety/FixMyStreet-Commercial/issues/668 - Uses jQuery to clone a copy of the "noscript" map elsewhere into the DOM, because the original is too far from where we need it. - extracts maps/openlayers.html to call maps/noscript_map.html - specialises the Zurich version to allow a richer structure to be returned, including arbitrary sized map - Map::Zurich now returns nearly arbitrary sized map tiles - second larger map is prepared (only for admin/report_edit) See mysociety/FixMyStreet-Commercial#677
* [Zurich] Use new map tiles up to 1:250Dave Arter2015-10-06-13/+12
| | | | | - Refactor map tile size into a constant - Update map tiles to use new Zurich WMTS server directly instead of Apache proxy
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-7/+7
| | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref.
* Use env in shebang lines, and remove unneeded onesMatthew Somerville2015-01-19-2/+0
|
* Use internal proxy for maps for now.Matthew Somerville2013-03-12-1/+1
|
* Fix Zurich zoom levels (b4).Matthew Somerville2013-02-05-26/+18
|
* Remove two further out Zurich zoom levels, add 1:500 (fixes a9).Matthew Somerville2013-01-31-2/+2
|
* Remove non-working most zoomed in level.Matthew Somerville2013-01-18-2/+2
|
* Fixes for Zurich map display in HTML.Matthew Somerville2013-01-18-2/+2
|
* Add server side handling of Swiss co-ordinates and tile clicks.Matthew Somerville2012-11-28-18/+157
|
* Work more on the non-js maps, and tidy js version sourcestevenday2012-11-26-9/+7
|
* Add a server-side map module for zurich maps - very borkedSteven Day2012-11-26-4/+19
|
* Add Zurich map moduleSteven Day2012-11-26-0/+25