As with all subclasses, the actual initialization is done in the initialize() function, not in the constructor, to allow for error handling.
It can only be bound to a position type (or subclass thereof), and inherits the configuration from there as far as possible.
Example: 'location' => Array ( 'title' => 'location', 'storage' => null, 'type' => 'org_routamc_positioning_dm2_type', 'widget' => 'org_routamc_positioning_dm2_widget', 'widget_config' => Array ( 'service' => 'geonames', //Possible values are city, geonames ), ),
package | org.routamc.positioning |
---|
boolean
Indicating Success'country' => 'FI')
Possible values: - (int) maxRows : Maximum amount of results returned. If this is set greater than 1, the widget will show alternative results and lets user to choose the best match. Defaults to: 20 - (int) radius : Radius of the area we search for alternatives. (in Kilometers) Defaults to: 5
Defaults to geonames
'text', 'room')