All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mizhousoft.geo.GEOCoderService Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.mizhousoft.geo;

import com.mizhousoft.geo.model.Address;
import com.mizhousoft.geo.model.Location;

/**
 * 地理编码接口
 *
 * @version
 */
public interface GEOCoderService
{
	/**
	 * 地理编码查询
	 * 
	 * @param address
	 * @param city
	 * @return
	 * @throws GEOException
	 */
	Location geo(String address, String city) throws GEOException;

	/**
	 * 逆地理编码查询
	 * 
	 * @param lng
	 * @param lat
	 * @return
	 * @throws GEOException
	 */
	Address regeo(double lng, double lat) throws GEOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy