Added Data Handlers for the new API's.
Updated the final example request - one can include the key "all" to the location if requests the data for the entire UK.
When switching between Draw on map on one API to another, refresh the Draw controls.
Based on the API(aka specified in the API template(/map_control/api/...)) if the api supports location as area being drawn, the accepted types of areas are specified (circle, rectangle, polygon). Home - rectangle and circle, police - polygon.
Moved the ajax request to a separate function.
Set the checkbox of the main api category when data received - this needs more work.
added methods which help in the construction of requests - get the name of restaurant and city when using the restaurants api
updated the getLocation method - it takes into cosideration the All Uk tab.
Added method to add the date to the police request object - needs validatio.(Firefox problems with datepicker?)