get Area
Returns the area that contains this location.
Uses the static method getAreas()
of the AreaCache
class to retrieve a list of all available areas. Iterates over the list of areas and checks if the current location is contained within each area. Returns the first area that contains the location, or null
if no area contains the location.
Return
The area that contains this location, or null
if no area contains the location.
Gets the area that contains the pixel location.
Return
the Area object that contains the pixel location, or null if no area contains the location.