lng: this._map.points[0].getLatLng().lng(),
type: 'geotag'
};
- //url = this._options.url;
+
new Ajax.Request(o.xurl, {
method: 'post',
parameters: params,
this._map.getLocations(this._map.points[0]);
this._map.mainMap.setCenter(gll, this._map.defaultZoom);
$(o.statusId).update('');
+ this.ll = null;
} else {
this._map.geocoder.getLocations($(o.locationInput).value, function(address) {
if (address.Status.code == '200') {
$ret = array(
'params' => $js_params,
'raw_params' => array(
- 'onSelect' => 'function (v) { ' . $this->_params['map'] . '.ll = Ansel.ajax.locationAutoCompleter.geocache[v];return v;}',
- 'onShow' => 'function (e) { if (!e.size()) ' . $this->_params['map'] . '.ll = null; }'
+ 'onSelect' => 'function (v) { ' . $this->_params['map'] . '.ll = Ansel.ajax.locationAutoCompleter.geocache[v]; return v; }'
),
'var' => "Ansel.ajax['locationAutoCompleter']"
);