/** Get the data for building the map * @access public * @return method */ public function getMap() { $data = $this->getData(); $geo = new Pas_Twfy_Geometry(); $constituency = $geo->get($data['constituency']); return $this->buildMap($constituency, $data); }
/** Get the constituency's geometry * @access public * @param string $constituency * @return object */ public function getGeometry($constituency) { $geo = new Pas_Twfy_Geometry(); return $geo->get($constituency); }