Build and initialize a Geocortex map service based on the provided service URL.
The Geocortex map that the map service belongs to.
A map service definition object containing the properties for the new map service.
An optional boolean which, if set to true, will respect the configured visibilities for the created map service layers. The default value is false. All layer visibilities are set to true by default.
The promise of a Geocortex map service.
Static utility methods for discovering and creating map services.