![]() Alternatively, you could specify an existing attributes object here and the newly created object’s properties would be initialized to that of the object passed in. The null passed to the PlacemarkAttributes constructor indicates that default values are to be used for all properties. PlacemarkAttributes.imageSource = " placemark.attributes = placemarkAttributes PlacemarkAttributes = new WorldWind.PlacemarkAttributes(null) Create the placemark attributes for this placemark. New WorldWind.Position(latitude, longitude, altitude)) Here’s an example of setting Placemark attributes: placemark = new WorldWind.Placemark( The shape’s API doc describes which attributes it does use. Shapes sometimes do not use all the attributes in the associated attribute bundle. See the API docs for those classes to learn their properties. For most shapes this is the ShapeAttributes class, but Placemark and GeographicText have their own attributes classes, PlacemarkAttributes and TextAttributes. ![]() Shape AttributesĪll Web WorldWind shapes have an associated bundle of attributes that you use to control their color and other aspects. The API docs describe these shapes in detail. Screen Text (class ScreenText) - Text drawn in the plane of the screen.Screen Image (class ScreenImage) - An image drawn in the plane of the screen.Geographic Text (class GeographicText) - Text at any geographic position and altitude.The specific classes are SurfaceCircle, SurfaceEllipse, SurfaceImage, SurfacePolygon, SurfacePolyline, SurfaceRectangle and SurfaceSector. Surface Shapes - Familiar shapes such as polyline, polygon, ellipse and square drawn on the terrain.If extruded, sides connecting the polygon to the ground are drawn. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |