![]() |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi, I'm Testing QGlobe and WorldWind for android, and in this moment I want to use a placemark with QGlobe, however I can not do it. Im doing this:
WorldWindGLSurfaceView view = new WorldWindGLSurfaceView(this); RenderableLayer layer = new RenderableLayer(); PointPlacemark pointPlaceMark = new PointPlacemark(Position.fromDegrees(29, -104, 2e4)); pointPlaceMark.setLabelText("Placemark A"); pointPlaceMark.setLineEnabled(false); PointPlacemarkAttributes attrs = new PointPlacemarkAttributes(); attrs.setImageAddress("images/test.png"); attrs.setImageColor(new Color(1f, 1f, 1f, 0.6f)); attrs.setScale(0.6); pointPlaceMark.setAttributes(attrs); layer.addRenderable(pointPlaceMark); layer.setPickEnabled(false); WorldWindow window = WorldWindGLSurfaceView.getWorldWindow(); window.getModel().getLayers().add(layer) ; Someone of you have the same problerm? |
|
![]() |
| Tags |
| placemark, placemarkpoint, renderablelayer |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with Placemark sizing | factor3 | Development Help | 9 | 08-09-2011 01:38 AM |
| Clustered Placemark "Exploder" | heidtmare | Development Help | 0 | 05-11-2011 02:59 PM |
| Problem importing simple placemark KML file | KevinNCSU | Technical Support | 0 | 06-20-2008 05:25 PM |
| Adding Hyperlink to KML placemark? | James_In_Utah | WorldWind General | 12 | 02-15-2007 09:59 PM |
| Placemark Icons moving around in V1.4Beta | James_In_Utah | Bug Reports | 11 | 12-18-2006 07:14 AM |