Sha256: 47e4a32bd40e3e3021494d25ea4259de3dc1895be2900e4921811e5676d48da3
Contents?: true
Size: 793 Bytes
Versions: 1
Compression:
Stored size: 793 Bytes
Contents
# Uncomment this if you reference any of your controllers in activate # require_dependency 'application_controller' class EventMapExtension < Radiant::Extension version "1.3.2" description "Small additions to geocode calendar events and display on a map, separated here because only of interest to a few." url "spanner.org" extension_config do |config| config.gem "geokit" end def activate require 'angle_conversions' # adds String.to_latlng and some degree/radian conversions to Numeric require 'grid_ref' # converts from UK grid references to lat/long EventVenue.send :include, Mappable # adds geolocation on validation Page.send :include, EventMapTags # currently only a very basic events:googlemap tag end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-event_map-extension-1.3.2 | event_map_extension.rb |