Package net.lalotech.model

Examples of net.lalotech.model.LatLon


    public String viewmaptag() {
        System.out.println("call view-map-tag()");
        /**
         * Markers sample
         */       
        markers.add(new MarkerModel(new LatLon(19.8246, -99.6571), "", "marker 1"));
        markers.add(new MarkerModel(new LatLon(19.0324, -99.7435), "", "marker 2"));
        markers.add(new MarkerModel(new LatLon(19.2352, -99.6424), "", "marker 3"));
        /**
         * Markers with custom icons
         */
        markersicons.add(new MarkerModel(new LatLon(19.8246, -99.6571), "/img/marker1.png", "marker 1"));
        markersicons.add(new MarkerModel(new LatLon(19.0324, -99.7435), "/img/marker2.png", "marker 2"));
        markersicons.add(new MarkerModel(new LatLon(19.2352, -99.6424), "/img/marker3.png", "marker 3"));
        /***
         * Geocercas
         */
        geocercas.add(new Geocerca(new LatLon(19.1, -99.1), 2700));
        geocercas.add(new Geocerca(new LatLon(19, -99), 2500));
        geocercas.add(new Geocerca(new LatLon(19.2, -99.2), 1500));

        return SUCCESS;
    }
View Full Code Here

TOP

Related Classes of net.lalotech.model.LatLon

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.