DDF-443 - added a configurable visibility option and a configurable max result count to the KmlEndpoint