Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 44 lines (29 sloc) 1.453 kB
7633af4 @yawningman Tagged!
yawningman authored
1 .__ __
2 ____ ______ ____ | |__ _____ _/ |_ ____ ____
3 _/ __ \ / ___// ___\| | \\__ \\ __\/ _ \ / \
4 \ ___/ \___ \\ \___| Y \/ __ \| | ( <_> ) | \
5 \___ >____ >\___ >___| (____ /__| \____/|___| /
54cf0ee @yawningman tagged readme
yawningman authored
6 \/ \/ \/ \/ \/ eschaton | cusp \/
7633af4 @yawningman Tagged!
yawningman authored
7
d9761aa @yawningman I'm branching now
yawningman authored
8 == eschaton => google maps on rails with hotness
89ac4f6 @yawningman updated readme to reference github git repo
yawningman authored
9
b3b8594 @yawningman Added basic README again. Updated #extract_and_remove to #extract
yawningman authored
10 Helps with writing google map mashups in Rails bringing together the power of Google Maps and Rails.
b10ece4 @yawningman If a marker is circled, the circle will now move with the marker. Int…
yawningman authored
11
b3b8594 @yawningman Added basic README again. Updated #extract_and_remove to #extract
yawningman authored
12 Visit the wiki[http://github.com/yawningman/eschaton/wikis] for more info.
13
14 map = Google::Map.new(:center => {:latitude => -33.947, :longitude => 18.462},
15 :controls => [:small_map, :map_type])
16
17 map.click do |script, location|
18 marker = map.add_marker :location => location
19 marker.open_info_window :text => 'Awesome, you added a marker!'
20 end
21
22 == Get it...
23
24 For Rails 2.1 and up
25
26 $ script/plugin install git://github.com/yawningman/eschaton.git
27
28 Older versions of Rails
29
30 $ cd vendor/plugins
31 $ git clone git://github.com/yawningman/eschaton.git
32
33 == Get going...
34
35 Generate a map, look at the files the generator created and play a bit.
36
37 $ script/generate map
38
f0434f7 @yawningman Updated doc
yawningman authored
39 Visit the map at http://localhost:3000/map or wherever your server runs.
40
1ae6e6a @yawningman Fixed rdoc
yawningman authored
41 Generate and review the docs, put some test code in the <b><i>app/helpers/map_helper.rb</i></b> and *_play_*!
f0434f7 @yawningman Updated doc
yawningman authored
42 $ cd vendor/plugins/eschaton/
43 $ rake rdoc
44 $ rake open_doc
Something went wrong with that request. Please try again.