Map class properties
There is a vast array of possible properties that you can pass in, and we've already seen a few of them throughout the book. There are also quite a few properties which are pretty useful which we haven't yet covered. I'll start off by introducing a few properties, and then we'll see them in action with some examples.
Throughout the explanation of properties and methods, I'll typically refer to an arbitrary map object as map
. If your map object is called something else, then you would simply replace map
with the name of your map object. Another quick note; while we will be talking about all these properties in the context of passing them in while creating the map object, you can call any of them at any time to get the value (e.g., calling map.tileSize
will return the map's tile size).
Note
While we'll cover all the properties and functions relevant to all the examples and discussions in the book, for an always up to date and complete list you can visit the docs at http:...