Get Map Blips

This endpoint allows you to retrieve all custom blips for a 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 Get Blips API endpoint.

function getBlips(cb) {
    var data = [{
        ["serverId"]: GetConvar("sonoran_serverId", 1)
    }];
    exports["sonorancad"].performApiRequest(data, "GET_BLIPS", function (res) {
        if (cb !== null) {
            cb(res);
        }
    });
}

Parameters

PropertyTypeDescription

cb

Function

Callback function

Last updated