-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
42 lines (27 loc) · 1.03 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
A simple one page site to show a google map, e.g.
http://brightonwifi.com
note: mobile/iPhone detection/css needs lots of work, example at:
http://eatinbrighton.com (visit on iPhone)
API keys
==========
http://code.google.com/apis/maps/signup.html
make sure to get your own API key for the domain you intend to use this code on. and also an API key for a dev domain if you need.
enter map details in config.php
Ads
==========
you can show ads in the left bar, sign up to adsense at http://google.com/adsense/ and then configure css:
1. in screen.css, #placesContainer, change:
bottom:0px;
to
bottom:260px
2. in screen.css, #gads, remove line:
display: none;
3. in index.php (IE fix), #placesContainer, change:
height: expression(document.body.clientHeight - 100 );
to
height: expression(document.body.clientHeight - 350 );
4. enter account details in config.php
Credits
==========
main coding by Brian Suda, http://suda.co.uk - http://twitter.com/briansuda
adaptations by Josh Russell, http://joshrussell.com - http://twitter.com/joshr