setServiceUrls()
_setServiceUrls(
newUrls
:Object
):void
Override the service URLs used by the SDK. This should only be used for internal testing and be called before the map is instantiated. If this is called after the map is created, all components that depend on service calls will need to be re-run. This will NOT automatically update the map. For example, the map style will need to reloaded by via a method like setStyle and routes will need to be updated.
Parameters
Parameter | Type |
---|---|
newUrls
| Object
|
Returns
void