Package net.rim.device.api.lbs.maps.model.geospatial

Examples of net.rim.device.api.lbs.maps.model.geospatial.GsImage


            final MapSimplePolygon poly = new MapSimplePolygon(points);
            poly.setStyleId("poly");
            _bigMap.getModel().add(poly, "Polygon", true);

            // Add a GsImage
            final GsImage img = new GsImage();
            img.setIconUri("http://us.blackberry.com/developers/logo_black.jpg");
            img.setLat(43.49000);
            img.setLon(-80.53919);
            img.setName("Logo");
            img.setDescription("Rim logo");
            _bigMap.getModel().add(img, "Image", true);

            // Change the style so we can see the content under the polygon.
            // Use ID based style.
            final StyleSet styles = _bigMap.getMapField().getDrawingStyles();
View Full Code Here

TOP

Related Classes of net.rim.device.api.lbs.maps.model.geospatial.GsImage

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.