Macaw OS C reference

Function imap_layers

#include <macaw.h>
int imap_layers(int m);

Tells you how many layers an imported map has.

Parameters

mint
The imported map's number.

Returns int

How many layers it has.

In Maps made elsewhere, with importmap, importmapimage, imap_layername, imap_size, imap_get, imap_picture, imap_used, imap_notes, imap_note, imap_free.