WemapCore
public final class WemapCore
-
Declaration
Swift
public static let name: String
-
Sets the global environment for the map, points of interest, etc.
Except for the Itineraries service, which is independent. You can set its environment using
setItinerariesEnvironment
.Attention
Make sure to set the environment before any other interaction with the WemapSDKs. Otherwise, your changes will be ignored until the related objects are re-created.Declaration
Swift
@available(*, deprecated, message: "This method will be changed to `setEnvironment(_ environment: Environment﹚` and will not return anything in a next release") public static func setEnvironment(_ environment: Environment) -> Bool
-
Sets the environment for the itinerary service.
You can set global environment using
setEnvironment
.Attention
Make sure to set the environment before any other interaction with the WemapSDKs. Otherwise, your changes will be ignored until the related objects are re-created.Declaration
Swift
@available(*, deprecated, message: "This method has been changed to `setItinerariesEnvironment(_ environment: Environment﹚` and will not return anything in a next release") public static func setItinerariesEnvironment(_ environment: Environment) -> Bool