nearby.org.uk

Simple Demo | On Demand Demo | Better On Demand Demo | API after onload

Uses the script append method of the Maps API to add the code to the page after it has finished loading. This is the recommended method as it doesnt load any Javascript API unless its specifically requested by the user.




Click to activate map



Another example including markers, from GMaps Samples. Also uses javascript to create the Static Map URL, requiring data entry only once as it reused for the static and dynamic maps.