Comments (7)
Bug. I am actually working on this one today.
from osgearth.
Should now be fixed. Also you no longer need the model() or image() specifiers.
from osgearth.
Hi
I've tried (with trunk) and debugged it and the image is loaded but i can't see it. Do you have a working sample ?
<map type="geocentric" version="2">
<options>
<lighting>false</lighting>
<terrain>
<min_tile_range_factor>8.0</min_tile_range_factor>
<loading_policy mode="standard"/>
</terrain>
</options>
<elevation name = "e1" driver = "tms" >
<url>e1\tms.xml</url>
</elevation>
<image name = "i1" driver = "tms">
<url>i1\tms.xml</url>
</image>
<model name="pois" driver="feature_geom">
<features name="pois" driver="ogr">
<url>pois.shp</url>
<build_spatial_index>true</build_spatial_index>
</features>
<clustering>true</clustering>
<layout>
<crop_features>true</crop_features>
<level max_range="10000000" min_range="0">
<selector class="pois"/>
</level>
</layout>
<!-- Appearance details -->
<styles>
<style type="text/css">
pois {
altitude-clamping: terrain;
marker: "c:/poi.png";
marker-placement: vertex;
marker-scale: 1.0;
altitude-offset: 100;
}
</style>
</styles>
</model>
</map>
from osgearth.
Remo,
Grab a new update and try it. I updated some code.
Also-- if you're using an image-based marker (you are), make sure clustering=false.
Glenn
from osgearth.
Glenn,
Thanks. It works now ;) But "marker-scale" doesn't work with my sample.
Remo
from osgearth.
Pull and try again - fixed a couple things.
from osgearth.
Ok, I've checked it on Windows 7 64Bit / OSG 3.1.0.90 and it works now.
Thanks
Remo
from osgearth.
Related Issues (20)
- TexEnv not supported HOT 5
- disable or default to no gltf and lerc
- SamplerBindings are not pruned when Shared Layer is Removed from REX Engine HOT 4
- The close() and open() methods of layers crash HOT 2
- no matching function for call to ‘CesiumIonClient::Connection::Connection(CesiumAsync::AsyncSystem&, std::shared_ptr<osgEarth::Cesium::AssetAccessor>&, std::string)' HOT 1
- build failed with Cesium-native HOT 1
- featuremodelayer ignore light. HOT 2
- get image texture in contour map HOT 5
- why crash when show 2D map? HOT 1
- ModelLayer displays osgb model shader errors in Qt5 HOT 6
- Build problem with osgEarth HOT 2
- Dependencies problems HOT 3
- osgearth_version started complaining about fontconfig-1.dll entry point FT_Get_BDF_Property HOT 5
- vcpkg port of 3.6.1 fails to resolve symbols from fontconfig
- About build osgearth, throw lnk2001 with gdal HOT 5
- Error reading file tests\nodata.earth: file not handled HOT 1
- A question about rotation of the earth HOT 4
- how to show quantized-mesh-1.0 ? HOT 1
- the function setVisible of FeatureModelLayer is invalid HOT 2
- RTTPicker cann't pick feature HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osgearth.