Package org.wicketstuff.gmap.geocoder

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


    @Test
    public void testEncode() {
        System.out.println("encode");
        Geocoder coder = new Geocoder();
        String encode = coder.encode("Salzburgerstraße 205, 4030 Linz, Österreich");
        Assert.assertEquals("http://maps.googleapis.com/maps/api/geocode/json?address=Salzburgerstra%C3%9Fe+205%2C+4030+Linz%2C+%C3%96sterreich&sensor=false", encode);
    }

    @Test
    public void testGeocoding() throws Exception {
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.