World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Android Discussion

Android Discussion World Wind on Android

Reply
 
Thread Tools Display Modes
Old 05-04-2012, 02:55 PM   #1
MaritoAL
Guest
 
Posts: n/a
Question PlaceMark

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?
  Reply With Quote
Reply

Tags
placemark, placemarkpoint, renderablelayer


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 04:31 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.