Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
creates a simple one page site to display a Google "My Maps" map, e.g. http://brightonwifi.com
PHP
branch: master

This branch is even with joshr:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE
README
config.php
index.php
mobile.css
screen.css

README

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
Something went wrong with that request. Please try again.