![]() * Copyright (C) 2014 United States Government as represented by the Administrator of the Renderable layers hold any kind of shape.Here's the code for the new layer (it is an almost exact copy of BMNGOneImageLayer): You must also add the renderable layer to the WorldWindow’s layer list: wwd.addLayer(placemarkLayer) Here the layer is given the display name “Placemarks”. Var placemark = new WorldWind.Placemark(new WorldWind.Position(latitude, longitude, altitude)) To display a shape, you simply create it using its constructor and add it to a renderable layer: var placemarkLayer = new WorldWind.RenderableLayer("Placemarks") Apps typically use renderable layers to group shapes logically. You use the RenderableLayer class when you want to display shapes. The imagery need not span the entire globe. You can create your own image layers using TiledImageLayer. This layer is used similarly to a splash screen in order to quickly display imagery on the globe while other higher-resolution imagery is retrieved.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |