diff --git a/app/models/event.rb b/app/models/event.rb index 1aac1a5d..0497c599 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -89,7 +89,8 @@ class Event < ApplicationRecord { type: 'Feature', properties: { id: id, name: title, start_time: start_time, end_time: end_time, submission_time: submission_time, decision_time: decision_time, - place_name: place_name, address: address, city: city, region: region.name, + place_name: place_name, address: address, city: city, + region: region.name, region_id: region_id, tags: tag_list, popupContent: "#{self}" }, geometry: { type: 'Point', coordinates: [longitude, latitude] } } end