I am tring to use the Maps SDK for Kotlin to make a demo.
The Lite License is configed by using setLicense method of ArcGISEnvironment class,
but "Beta - For developer Use One" is always shown in MapView.
this is no problem by Runtime 100.15.
the code is as following :
package edu.hebtu.mapview
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.arcgismaps.ApiKey
import com.arcgismaps.ArcGISEnvironment
import com.arcgismaps.License
import com.arcgismaps.mapping.ArcGISMap
import com.arcgismaps.mapping.BasemapStyle
import com.arcgismaps.mapping.view.MapView
class MainActivity : AppCompatActivity() {
private lateinit var mapView: MapView
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
ArcGISEnvironment.apiKey = ApiKey.create("apikey")
ArcGISEnvironment.setLicense("runtimelite,1000,rud1587197405,none,3M2PMD17*****") // some characters have been replaced by ***
mapView = findViewById<MapView>(R.id.mapview)
lifecycle.addObserver(mapView)
mapView.map = ArcGISMap(BasemapStyle.ArcGISTopographic)
}
}
Solved! Go to Solution.
Hello, this is actually expected behavior. Unlike the license watermark seen in 100.15, The beta watermark will be shown on the MapView with any license. When the Maps SDK for Kotlin has its final release, the beta watermark will be removed and the behavior will match 100.15.
Thanks,
Hudson Miears
Hello, this is actually expected behavior. Unlike the license watermark seen in 100.15, The beta watermark will be shown on the MapView with any license. When the Maps SDK for Kotlin has its final release, the beta watermark will be removed and the behavior will match 100.15.
Thanks,
Hudson Miears
Thank you!