// New initializes a new Map. func New() *Map { return &Map{ m: C.mapnik_map(C.uint(800), C.uint(600)), width: 800, height: 600, } }
// NewSized initializes a new Map with the given size. func NewSized(width, height int) *Map { return &Map{ m: C.mapnik_map(C.uint(width), C.uint(height)), width: width, height: height, } }
func NewMap(width, height uint32) *Map { return &Map{C.mapnik_map(C.uint(width), C.uint(height))} }