Add Temp Blip

This endpoint allows you to add a new custom blip for a set amount of time to your community's live map!

This API endpoint requires the pro version of Sonoran CAD or higher. For more information, see our pricing page.

This framework export handles the Add Blip API endpoint.

function addTempBlipData(blipId, blipData, waitSeconds, returnToData) {
    exports["sonorancad"].performApiRequest({
        id: blipId,
        data: blipData
    }, "MODIFY_BLIP", function (_) { });

    setTimeout(function () {
        exports["sonorancad"].performApiRequest({
            id: blipId,
            data: returnToData
        }, "MODIFY_BLIP", function (_) { });
    }, waitSeconds * 1000);
}

Parameters

PropertyTypeDescription

blipId

Integer

Blip ID

blipData

Table

Table of blip objects

waitSeconds

Integer

Time to wait before removing the blip (seconds)

returnToData

Table

Table of blip objects

Last updated