Package org.wicketstuff.gmap.geocoder

Examples of org.wicketstuff.gmap.geocoder.Geocoder.geocode()


    @Test
    public void testGeocoding() throws Exception {
        System.out.println("geocoding");
        Geocoder coder = new Geocoder();
        GLatLng result = coder.geocode("Salzburgerstraße 205, 4030 Linz, Österreich");
        Assert.assertNotNull(result);
        Assert.assertEquals(48.25763170, result.getLat(), 0.00001);
        Assert.assertEquals(14.29231840, result.getLng(), 0.00001);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.