Skip to content

lftl/GeocodableBehavior

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very quick hack of William Durand's great GeocodableBehavior to support PHP 5.2.

It only includes a quick implementation for Google's Geocoding API.

Installation

Cherry-pick the GeocodableBehavior.php file is src/, put it somewhere, then add the following line to your propel.ini or build.properties configuration file:

propel.behavior.geocodable.class = path.to.GeocodableBehavior

Add the behavior in your schema, and set the geocoder_provider to "old"

Add OldGeocoder.php to the runtime path.

Packages

No packages published

Languages

  • PHP 100.0%