Select to view content in your preferred language

"Beta - For developer Use One" is always shown in MapView

631
2
Jump to solution
12-21-2022 02:57 AM
DongYu
by
New Contributor

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)

}

}

Snipaste_2022-12-21_18-55-34.png

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Hudson_Miears
Occasional Contributor

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

 

View solution in original post

2 Replies
Hudson_Miears
Occasional Contributor

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

 

DongYu
by
New Contributor

Thank you!

0 Kudos