moved verifyOrderInVisbleLayers() into serviceSpec, added getters into mapservice.js to support change.