Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Allow one more zoom level on most map types. | M Somerville | 2020-08-14 | -4/+4 |
| | | | | Not on StreetView/OpenMap Local based, which are not available. | |||
* | MapQuest tiles went away a long time ago. | M Somerville | 2020-08-14 | -34/+0 |
| | ||||
* | When inspector changing asset, prevent background map click. | M Somerville | 2020-08-13 | -2/+7 |
| | ||||
* | Only create one admin drag control. | M Somerville | 2020-08-13 | -1/+4 |
| | | | | | | It was previously creating one on each report you looked at. A side effect of which was upping the z-index of the layer by one each time, making adding asset layers bit trickier. | |||
* | Allow inspectors to change report asset. | M Somerville | 2020-08-13 | -6/+3 |
| | | | | | This hopefully copes with assets displayed by category or by group, and updates the button to show/hide on category change. | |||
* | Factor together BNG inspector pin field function. | M Somerville | 2020-08-13 | -11/+18 |
| | | | | Update all name= fields, that should be fine. | |||
* | Default to aerial map in JS if aerial given in URL. | Matthew Somerville | 2020-07-16 | -0/+4 |
| | ||||
* | Add aerial option to OSM maps. | Matthew Somerville | 2020-07-16 | -0/+7 |
| | ||||
* | Remove use of jQuery toggle(). | Matthew Somerville | 2020-07-14 | -2/+10 |
| | ||||
* | Make aerial/roads translatable in JavaScript. | Matthew Somerville | 2020-07-14 | -7/+2 |
| | ||||
* | Add aerial view toggle to Bing Maps & subclasses. | Struan Donald | 2020-07-10 | -8/+54 |
| | | | | | Co-authored-by: Dave Arter <davea@mysociety.org> Co-authored-by: Matthew Somerville <matthew@mysociety.org> | |||
* | Use up-to-date Bing map URLs. | Matthew Somerville | 2020-07-10 | -20/+20 |
| | ||||
* | [Bromley] Tidy up tilma URL bits. | Matthew Somerville | 2020-07-10 | -3/+5 |
| | ||||
* | Fix photo orientation in modern browsers. | Matthew Somerville | 2020-07-01 | -39/+248 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use Dropzone (the photo upload library) to shrink photos client-side before uploading in the background and display thumbnails. For the resized upload, Dropzone restores the original Exif data, including orientation, so it can be correctly oriented server-side; for a thumbnail, it orients the image itself for immediate display. Recently, browsers have started honouring Exif orientation much more widely (Chrome 81+ and Firefox 77+ both now do it by default). This means the data Dropzone gets from a resize has already been oriented according to the Exif orientation data. Then Dropzone either looks at the orientation to correct for display (thumbnail), or adds back the Exif orientation data (upload) – in both cases, this leads to a double implementation of the orientation, and an incorrect display. To fix this, if we detect we are on a modern browser, we do not try and fix orientation ourself [1], and in all cases we do not add any Exif data back in (we only strip it server-side anyway). Conversely, that means on a non-modern browser, we always perform a manual orientation because no Exif data will be being sent server-side. Also includes a fix to the orientation code [2] which wouldn't be noticed in thumbnail generation as they are square, but could be now we may be orienting full size photos. [1] https://gitlab.com/meno/dropzone/-/merge_requests/80 [2] https://gitlab.com/meno/dropzone/-/merge_requests/45 | |||
* | Add lazy image loading on list items. | Matthew Somerville | 2020-06-15 | -0/+216 |
| | ||||
* | Make year in map copyright notices dynamic | Chris Mytton | 2020-05-12 | -3/+4 |
| | ||||
* | [Buckinghamshire] Update for change to unitary. | Martin Wright | 2020-03-31 | -1/+1 |
| | | | | New unitary branding, and remove County from name. | |||
* | Only one duplicate call in progress at once. | Matthew Somerville | 2020-03-31 | -1/+12 |
| | | | | | Without this check, it is possible for calls to overlap and end up with a situation whereby both the duplicate list and the form are hidden. | |||
* | [UK] Use staging hosts on some staging sites. | Matthew Somerville | 2020-03-03 | -1/+2 |
| | ||||
* | [Northamptonshire] config files for WMS maps | Struan Donald | 2020-02-17 | -0/+38 |
| | ||||
* | base files for displaying WMS maps | Struan Donald | 2020-02-17 | -3/+36 |
| | | | | | Basic config and setup files for using WMS based map tiles. These still require config in appropriate cobrand perl and javascript files | |||
* | Restrict lat/lon in URL/fields to 6dp. | Matthew Somerville | 2020-01-31 | -6/+6 |
| | ||||
* | Don’t highlight duplicate pins on mobile | Dave Arter | 2020-01-31 | -9/+15 |
| | | | | | The presence of the ‘mouseenter’ handler meant two taps were required to expand the report preview. | |||
* | Display inline map for duplicate suggestions on mobile | Dave Arter | 2020-01-31 | -0/+4 |
| | | | | For #2668. | |||
* | Use our own Permalink class. | Matthew Somerville | 2020-01-10 | -59/+74 |
| | | | | | We are overriding quite a bit of it and not using other bits, so it will be less code to only have our own Control. | |||
* | Reduce duplicate Permalink.updateLink calls when zooming map | Dave Arter | 2020-01-09 | -0/+18 |
| | ||||
* | Merge branch 'cheshire-east-maps' | Matthew Somerville | 2020-01-09 | -65/+51 |
|\ | ||||
| * | [Cheshire East] Use own map tiles. | Matthew Somerville | 2020-01-08 | -0/+33 |
| | | ||||
| * | Use variables for marker size boundaries. | Matthew Somerville | 2020-01-08 | -65/+18 |
| | | ||||
* | | Display GPS marker on /around & /report/new if geolocate link used | Dave Arter | 2020-01-08 | -0/+94 |
|/ | | | | | | Attempts to allow for CSS animations by not destroying the marker's DOM element each time a location update is received - with limited success. | |||
* | [Bexley] Switch to use MasterMap map type | Chris Mytton | 2019-11-27 | -24/+0 |
| | | | | | | Now that both Peterborough and Bexley are using MasterMap data we can combine them into a single "MasterMap" map type to reduce code duplication. | |||
* | [Peterborough] Add OS MasterMap map tiles | Chris Mytton | 2019-11-27 | -0/+24 |
| | | | | | This adds a new "MasterMap" map type which uses tiles from Tilma to display MasterMap data. | |||
* | Merge branch 'fix-dupes-' | Matthew Somerville | 2019-10-15 | -3/+6 |
|\ | ||||
| * | Fix issue loading inspector duplicates on /around. | Matthew Somerville | 2019-10-15 | -3/+6 |
| | | | | | | | | | | | | As there are two category drop-downs in this situation (one in the hidden reporting form, one in the inspect form), the correct entry needs to be specified. | |||
* | | Add map filter debouncing. | Matthew Somerville | 2019-10-15 | -2/+15 |
|/ | ||||
* | Only show duplicate suggestions once per category change on mobile | Dave Arter | 2019-10-07 | -2/+22 |
| | ||||
* | Dismiss duplicate selection UI when returning to map on mobile | Dave Arter | 2019-10-07 | -0/+6 |
| | ||||
* | Merge branch 'zurich-staging' | Matthew Somerville | 2019-09-30 | -23/+15 |
|\ | ||||
| * | [OpenLayers] Never send X-Requested-With header. | Matthew Somerville | 2019-09-30 | -0/+15 |
| | | ||||
| * | [WMTS] Remove unneeded reprojection code. | Matthew Somerville | 2019-09-30 | -23/+0 |
| | | | | | | | | | | The base layer does this transformation, so I am not sure what this was for. | |||
* | | [IsleOfWight] fix wmts bbox strategy setting | Struan Donald | 2019-09-27 | -2/+2 |
| | | | | | | | | | | | | Change the way we set the BBOX strategy for the map layer as otherwise when we check for bbox_strategy in display_around this is set but has not been associated with a layer so .activate fails. | |||
* | | [IsleOfWight] switch to IoW map tiles | Struan Donald | 2019-09-27 | -0/+206 |
|/ | ||||
* | Merge branch 'bexley-map-tiles' | Matthew Somerville | 2019-09-19 | -0/+24 |
|\ | ||||
| * | [Bexley] Add new map tiles. | Matthew Somerville | 2019-09-19 | -0/+24 |
| | | ||||
* | | Remove on-map permalink. | Matthew Somerville | 2019-09-19 | -41/+8 |
|/ | | | | We retain the code as it is updating the URL on map move. | |||
* | Maintain filter_category/group if locate me used. | Matthew Somerville | 2019-08-16 | -1/+1 |
| | | | | Also update lat/lon parameters to match JS. | |||
* | Merge branch 'issues/commercial/1480-asset-duplicate-interaction' | Matthew Somerville | 2019-08-08 | -1/+17 |
|\ | ||||
| * | Have duplicate suggestion & assets coexist better. | Matthew Somerville | 2019-08-07 | -1/+17 |
| | | ||||
* | | Hide category extras when dupe suggestions shown. | Matthew Somerville | 2019-08-07 | -0/+2 |
|/ | ||||
* | prevent including email address in report title | Struan Donald | 2019-08-02 | -1/+1 |
| | | | | | | | | If autofill on Chrome is turned on and has saved the user's login it can autofill the user's email address in the report title, so add validation to make sure the title does not look like an email. Fixes #2570 |