Created
November 21, 2012 11:50
-
-
Save pedroresende/4124511 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Exception trying to add and invalid Latitude and Longitude\n"; | |
$content = $this->api->newContent( 'a_gmap_location_class' ); | |
$content->setField( 'name', 'GMap Location Test Object' ); | |
$values = array( 'address' => 'Oslo Norway', 'latitude' => '0.0' , 'longitude' => '0.0' ); | |
$content->setField( 'gmap_location', $value ); | |
$this->api->saveContent( $content ); |
Author
pedroresende
commented
Nov 21, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment