Drawing primitives above tiles.


Im trying to use the DrawHelper plugin, to let me draw geometry on my map. Im using bing tiles, and for some reason, my primitive is acting strange with the tiles.

https://imgur.com/a/YaLS3 <-- Took some screenshots to try and show it.

Ive tried to implement it 50 meters above everything in the code, to handle height differences, but it doesnt seem to help.

The code:

    toolbar.addListener('circleCreated', function(event) {
        console.log('Circle created: center is ' + event.center.toString() + ' and radius is ' + event.radius.toFixed(1) + ' meters');
        var pos = event.center;
        pos.y = pos.y + 200;

        var promise = Cesium.sampleTerrainMostDetailed(viewer.terrainProvider, event.center);
        Cesium.when(promise, function(updatedPos) {
            console.log("Updated Pos:");
        var circle = new DrawHelper.CirclePrimitive({
            center: pos,
            radius: event.radius + 100,
            material: Cesium.Material.fromType(Cesium.Material.StripeType)
        circle.addListener('onEdited', function(event) {
            loggingMessage('Circle edited: radius is ' + event.radius.toFixed(1) + ' meters');


While we don’t support the DrawHelper plugin, it looks like it hasn’t been updated in about 4 years, and Cesium has release many updates since then. Maybe contact the maintainer of that project and ask them to update?