{"action":"closed","issue":{"url":"https://api.github.com/repos/vitalidze/traccar-web/issues/100","labels_url":"https://api.github.com/repos/vitalidze/traccar-web/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/vitalidze/traccar-web/issues/100/comments","events_url":"https://api.github.com/repos/vitalidze/traccar-web/issues/100/events","html_url":"https://github.com/vitalidze/traccar-web/issues/100","id":59611030,"number":100,"title":"Geo-Fences","user":{"login":"vitalidze","id":2294325,"avatar_url":"https://avatars.githubusercontent.com/u/2294325?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalidze","html_url":"https://github.com/vitalidze","followers_url":"https://api.github.com/users/vitalidze/followers","following_url":"https://api.github.com/users/vitalidze/following{/other_user}","gists_url":"https://api.github.com/users/vitalidze/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalidze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalidze/subscriptions","organizations_url":"https://api.github.com/users/vitalidze/orgs","repos_url":"https://api.github.com/users/vitalidze/repos","events_url":"https://api.github.com/users/vitalidze/events{/privacy}","received_events_url":"https://api.github.com/users/vitalidze/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vitalidze/traccar-web/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-03-03T08:42:24Z","updated_at":"2015-04-03T09:47:04Z","closed_at":"2015-04-03T09:47:04Z","body":"This feature has been requested many times. So I started developing it. Here is how I am going to create first version of this functionality:\r\n\r\n1) Add tab panel at the bottom of devices/vehicles list. First (default) tab is 'Devices' with current table, second will be 'Geo-fences' with list of geofences. Top buttons 'Add/Edit/Delete...' are applied to the objects selected in current active tab.\r\n\r\nWhen geo-fence is selected in list map will scroll to make it visible (like it's working now for devices/vehicles).\r\n\r\n2) There will be three types of geofences:\r\n\r\n* line (with width in meters)\r\n* circle (with radius in meters)\r\n* polygon\r\n\r\nEach geofence will have name, which will be shown on map. Then it will have a description and color.\r\n\r\n3) Geo-fences will be shown on a separate layer in map.\r\n\r\n4) Each device may be assigned one or multiple geo-fences. Then when it enters/exits geo-fence an event will be recorded and notification sent.\r\n\r\nThis is it. Once it's all done I will put it into latest release."}}