HEX
Server: Apache
System: Linux webm004.cluster123.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: dronicaehy (124008)
PHP: 8.5.0
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/dronicaehy/www/consejeria/imidadata/graphics/KolorMap/lib/mxn.cartociudad.geocoder.js
mxn.register('cartociudad', {

Geocoder: {
	
	init: function() {
		throw new Error('The Cartociudad Maps geocoder API is now obsolete and no longer supported by Mapstraction');
		//this.geocoders[this.api] = new metodosCartociudad();
	},
	
	geocode: function(address){
		var return_location = {};
		var mapstraction_geodocer = this;
		
		address.error = 0; //creamos una variable para devolver errores
			
		this.geocoders[this.api].queryNomenclator(address);
			
		if (address.error !== 0) {
			this.error_callback(address);
		}
		else {
			this.geocoders[this.api].addressToMapstraction(address);
			this.callback(address);
		}
	},
	
	geocode_callback: function(response, mapstraction_geocoder){
		var return_location = {};
		
		// TODO: Add provider code
	}
}
});