<% content_for :head do -%> <%= javascript_include_tag "https://maps.googleapis.com/maps/api/js?sensor=false" %> <%= javascript_include_tag "map_marker" %> <% end -%>

Recent Event Map

<% events = @agent.events.with_location.order("id desc").limit(500) %> <% if events.length > 0 %>
<% else %>

No events found.

<% end %>

POST URL

Location data containing latitude and longitude can be posted to this URL:

The data can also include radius, speed, and course values.