-
Notifications
You must be signed in to change notification settings - Fork 9
Layer api
Paul Spencer edited this page Jul 8, 2013
·
4 revisions
A layer object represents a LAYER block in a map file and has the following methods and properties for manipulating it:
- name - read/write string, the name of the layer.
- status - read/write integer, the status of the layer for rendering, can be MS_ON, MS_OFF, MS_DEFAULT or MS_DELETE.
Returns an object containing grid intersection coordinates for the four sides of the map plus associated labels. See tests for an example.