Package org.wicketstuff.gmap.api

Examples of org.wicketstuff.gmap.api.GPolygon


    private static final long serialVersionUID = 1L;

    public PolygonesPage()
    {
        GMap map = new GMap("topPanel");
        map.addOverlay(new GPolygon("#000000", 4, 0.7f, "#E9601A", 0.7f, new GLatLng(37.3, -122.4), new GLatLng(37.2, -122.2),
                new GLatLng(37.3, -122.0), new GLatLng(37.4, -122.2), new GLatLng(37.3, -122.4)));
        map.addOverlay(new GPolyline("#FFFFFF", 8, 1.0f, new GLatLng(37.35, -122.3), new GLatLng(37.25, -122.25), new GLatLng(
                37.3, -122.2), new GLatLng(37.25, -122.15), new GLatLng(37.35, -122.1)));
        map.setZoom(10);
        add(map);
View Full Code Here

TOP

Related Classes of org.wicketstuff.gmap.api.GPolygon

Copyright © 2018 www.massapicom. 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.