shouldPaint method
returns true if this marker is within the visible boundary and therefore should be painted. Since the initResources() is called only if shouldPoint() returns true, do not test for available resources here.
Implementation
bool shouldPaint(BoundingBox boundary, int zoomLevel) {
return display != Display.NEVER &&
minZoomLevel <= zoomLevel &&
maxZoomLevel >= zoomLevel;
}