aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-wmts-zurich.js
Commit message (Collapse)AuthorAgeLines
* [Zurich] Fix map offset bug.Matthew Somerville2017-09-20-4/+4
| | | | | | | | | 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
|
* Add inspector report detail viewDave Arter2016-09-06-29/+5
| | | | | | | | | | | | | Users with the `report_inspect` permission can click a new 'inspect' button on a report page to input more detailed problem information into a new form that appears in a column alongside the report detail. - Inspector data is stored in problem's 'extra' field - Report category/state can be edited - Location can be changed by dragging the pin or HTML5 geolocation (Factored out Zurich admin pin drag into own function) For mysociety/fixmystreetforcouncils#22
* 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-46/+50
|\
| * Tidy up JavaScript functions.Matthew Somerville2016-07-11-44/+48
| | | | | | | | Split big functions into smaller more descriptive ones.
* | [Zurich] Use new LV95/CH1903+ geocoder and base map tilesDave Arter2016-07-07-192/+121
|/ | | | | | | | | | | - 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.
* Allow scroll wheel to zoom map.Zarino Zappia2016-06-01-7/+1
|
* [Zurich] Use protocol relative map tiles.Matthew Somerville2016-03-30-2/+2
|
* [Zurich] Use new map tiles up to 1:250Dave Arter2015-10-06-19/+152
| | | | | - Refactor map tile size into a constant - Update map tiles to use new Zurich WMTS server directly instead of Apache proxy
* Tidy up front page and map copyright templates.Matthew Somerville2015-02-23-1/+0
|
* Use internal proxy for maps for now.Matthew Somerville2013-03-12-2/+2
|
* Treat link from report page to around page as permalink to maintain state ↵Matthew Somerville2013-02-21-0/+5
| | | | better.
* Activate IE admin drag onload, as with the pins.Matthew Somerville2013-02-20-25/+33
|
* Allow Zurich admin to change location of pin, with confirmation (fixes a1).Matthew Somerville2013-02-08-0/+29
|
* Zurich area unfilled with thick black outline (fixes a25).Matthew Somerville2013-01-31-0/+2
|
* Remove two further out Zurich zoom levels, add 1:500 (fixes a9).Matthew Somerville2013-01-31-3/+3
|
* No map controls on mobile Zurich report display page.Matthew Somerville2013-01-24-2/+4
|
* No permalink on Zurich.Matthew Somerville2013-01-24-5/+0
|
* Add layer switcher to current map task bar.Matthew Somerville2013-01-18-5/+16
|
* Remove LayerSwitcher, will do it manually.Matthew Somerville2013-01-18-1/+0
|
* Add ability for multiple base map layers, add Zurich Stadtplan.Matthew Somerville2013-01-18-0/+7
|
* Remove non-working most zoomed in level.Matthew Somerville2013-01-18-1/+1
|
* Change default map type to Hybrid.Matthew Somerville2013-01-18-3/+3
|
* Projection should be on the map layer only, not the whole map.Matthew Somerville2012-12-19-1/+1
|
* Zurich matrixIds have shifted by one.Matthew Somerville2012-12-12-9/+10
|
* Top left corner given in WMTS capabilities file appears to be about (78,77)m ↵Matthew Somerville2012-11-28-10/+10
| | | | out of where it should be (in order to get the right lat/lon when I click the map in OpenLayers anyway).
* Write out layer explicitly so no AJAX request necessary and deal with all OL ↵Matthew Somerville2012-11-26-62/+26
| | | | options the same.
* Simplify map bound transformation (should do bounds transform as might be ↵Matthew Somerville2012-11-26-11/+4
| | | | skewed translation), fix transforms to modify original.
* Work more on the non-js maps, and tidy js version sourcestevenday2012-11-26-4/+0
|
* Add a proper OpenLayers plugin for Swiss<->WGS84 transformationsstevenday2012-11-26-59/+11
|
* Convert bounds from swiss to lat/lon so ajax doesn't breakSteven Day2012-11-26-0/+79
|
* Re-arrange functions to please remoteSteven Day2012-11-26-38/+39
|
* Make controls and initial zoom level workSteven Day2012-11-26-29/+28
|
* Use fixmystreet zoom level if setSteven Day2012-11-26-1/+1
|
* Begin getting Zurich maps into FMS - many things brokenSteven Day2012-11-26-0/+98