aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map.pm
Commit message (Collapse)AuthorAgeLines
* Add sort order options to list pages.Matthew Somerville2016-11-04-3/+2
| | | | | | | | Includes newest, oldest, least/most recently updated, and most comments. The default remains the same, which is last updated on /reports, and newest on /my and /around (the latter plus not-in-view sorted-by-distance ones).
* Allow multiple selections in report list filter.Zarino Zappia2016-10-13-3/+3
| | | | | | This lets people filter by multiple categories or states. It uses our jQuery multi-select plugin to turn the <select multiple>s into little overlay lists of checkboxes. HTML5 history is also supported.
* Prevent error if latitude or longitude of 0 given.Matthew Somerville2016-08-15-1/+1
|
* Add static map output view for a report.Matthew Somerville2016-08-01-1/+4
|
* Refactor map pin/feature functions.Matthew Somerville2016-07-21-66/+28
|
* [UK Councils] Show all reports on cobrand /around mapDave Arter2016-07-08-2/+2
| | | | | | | | | | | | | | There is a concern that excluding district council reports from a two-tier council's cobrand's /around page might lead to duplicate reports or reports never being seen. This commit adds them to the map and the sidebar and displays the destination council in the report list item. Clicking the pin or the report link leads to the report on FMS.com. Reports sent to the a council other than the the active cobrand are shown as grey pins on the map, and the receiving council's name is shown in the sidebar list.
* Fallback if request to Gaze fails.Matthew Somerville2016-05-18-8/+2
| | | | Fixes #1286.
* Allow MAP_TYPE to be overridden by testsDave Arter2015-10-06-0/+10
|
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-2/+2
| | | | | | | 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.
* Refactor duplicated filter_status code into a single functionSteven Day2015-06-29-10/+2
|
* Rename map filtering GET param, remove unnecessary querySteven Day2015-06-29-1/+1
|
* Simplify default status filter for map pinsSteven Day2015-06-29-3/+3
|
* Use a consistent method of filtering by category on /around and /ajaxDave Arter2015-06-29-2/+4
|
* Allow /ajax to be filtered by statusDave Arter2015-06-29-9/+19
| | | | | If present, the 'status' param can be set to 'open' or 'fixed' to display ensure only open or fixed reports respectively are included in the response.
* Add category filtering support to /ajax via 'category' GET paramDave Arter2015-06-29-9/+10
|
* Use env in shebang lines, and remove unneeded onesMatthew Somerville2015-01-19-2/+0
|
* Make sure title not shown on pins on unconfirmed Zurich reports.Matthew Somerville2013-01-24-1/+1
|
* map_pins function is same for everyone currently.Matthew Somerville2012-11-28-1/+20
|
* Remove unused function, basic test of front page of some council cobrands.Matthew Somerville2012-11-14-4/+0
|
* Always allow OSM as an allowed map type, even if none given.Matthew Somerville2012-07-13-2/+2
|
* Reduce JS pin fetching to only exactly the map that is shown.Matthew Somerville2012-02-29-1/+3
|
* Typo in docs template.Matthew Somerville2011-08-11-1/+0
|
* Remove no-longer-used tilma code.Matthew Somerville2011-07-21-1/+0
|
* Remove unused Tilma, consolidate tile lookup for legacy URLs to work in ↵Matthew Somerville2011-07-01-1/+13
| | | | different map format.
* Strategy/Format for updating pins as map is panned.Matthew Somerville2011-06-30-1/+1
|
* Move to Vector layer rather than Markers, to be able to use the ↵Matthew Somerville2011-06-29-4/+21
| | | | Strategy/Protocol features.
* remove Problems.pmStruan Donald2011-06-10-1/+0
|
* Move the tricky nearby DB call to its own Result/ResultSet, and move more ↵Matthew Somerville2011-06-09-5/+6
| | | | functions.
* Removal of old Cobrand.pm and last .Matthew Somerville2011-06-07-1/+0
|
* Get rid of some more fake_q etc.Matthew Somerville2011-06-06-3/+2
|
* Put form header in templates, not code.Matthew Somerville2011-05-24-21/+0
|
* Remove unnecessary display_map_end function.Matthew Somerville2011-05-20-7/+0
|
* Merge branch 'master' into migrate_to_catalystEdmund von der Burg2011-04-04-56/+64
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore commonlib conf/packages perllib/FixMyStreet/Map.pm templates/website/cobrands/barnet/footer web/confirm.cgi web/css/core.css web/import.cgi web/index.cgi
| * Allow map change in URL.Matthew Somerville2011-03-23-28/+67
| |
| * Move compass function to Tilma code, pass Q through to click->latlon lookup.Matthew Somerville2011-02-26-31/+0
| |
* | Change '/reports/new' to '/report/new'Edmund von der Burg2011-04-01-1/+1
| | | | | | | | | | Fix broken links to '/reports/<<id>>' Get correct base under CGI and FastCGI
* | Create a new report by going to '/reports/new'Edmund von der Burg2011-03-18-1/+1
|/
* Helper function for all latlon to OSGB36 calls.Matthew Somerville2011-02-11-1/+0
|
* Update gode to use en_to_latlon utilEdmund von der Burg2011-02-10-1/+2
| | | | Shorter coords in RSS and alert urls
* Die if there is a compile time error in the maps codeEdmund von der Burg2011-02-08-0/+3
|
* convert various map functionsEdmund von der Burg2011-02-08-35/+53
|
* Migrate of Problems::nearby and calling codeEdmund von der Burg2011-02-07-2/+3
|
* Tidy up map importing a bit.Matthew Somerville2010-12-21-0/+114
|
* Refactor map display into separate modules, response for own set-up and display.Matthew Somerville2010-11-26-355/+0
|
* Have FixMyStreet::Map return the JS it needs.Matthew Somerville2010-11-24-0/+6
|
* Pushing as much maps stuff into Maps as possible.Matthew Somerville2010-11-24-37/+90
|
* Move map functions to their own package.Matthew Somerville2010-11-22-0/+296