Results 1 to 2 of 2

Thread: PlaceMark

  1. #1
    MaritoAL
    Guest

    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?

  2. #2
    Junior Member
    Join Date
    Sep 2014
    Posts
    1

    Default

    Same problem.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •