I am loading a geojson datasource via
var p = Cesium.GeoJsonDataSource.load(‘p.geojson’,{
markerSymbol: 'triangle'
});
viewer.dataSources.add§;
``
I am wanting to remove the blue pin and keep just the triangle. Is this possible? I’ve looked into the styling and didn’t see a solution.
You can set the markerColor to something transparent (or nearly so to help with picking).
var viewer = new Cesium.Viewer(‘cesiumContainer’);
var dataSource = Cesium.GeoJsonDataSource.load(‘p.geojson’, {
markerSymbol: ‘triangle’,
markerColor: Cesium.Color.RED.withAlpha(0.1)
});
viewer.dataSources.add(dataSource);
viewer.zoomTo(dataSource);
``
This works ok, but some artifacts remain from the the pin.
Scott