GetGeocode
Questions answered by this recipe
How to easily find a geocode (latitude and longitude) for an address, in order to place a marker on a google map.
Description
Enter your recipe's description here.
Place the directive
(:getgeocode:)
on a line your wiki page, for a page that has had the google maps api loaded (See Google Maps API key)
Enter an address in the address field. Hit the "Get Geocode" button. Read the latitude and longitude from the results field.
Notes
Place the getgeocode.phpΔ file into the cookbook directory.
Place the line
include_once("$FarmD/cookbook/getgeocode.php");
in your config.php or farmconfig.php file.
Release Notes
See Also
Contributors
Comments
See discussion at GetGeocode-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.