Skip to content

Issue addding Renderable to renderableLayer #76

Description

@jmsbrett

So I have one test project set up that takes in data from a websocket and display the location on a worldwindjs (vanillajs) map. I am now testing this library with this npm project and cannot figure out how to add a the location image to the map.

In the vanillajs implementation I am adding with (sudo code):

var renderableLayer = new WorldWind.RenderableLayer();
var location = new WorldWind.Position(lat, long, alt);
var placemark = new WorldWind.Placemark(location);

renderableLayer.addRenderable(placemark);

In the worldwind-react-globe project I console logged the globeRef and cannot find any prototype of the Object where I can call the WW.Position() or WW.Placemark() function to add a renderable.

Is this possible in the worldwind-react-globe? If so do you have examples of how to do this?

I have a renderable layer available for use and have verified its existence within the globeRef.

Thanks,

James

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions