Select to view content in your preferred language

Using ArcGIS Map SDK MapView control inside of ArcGIS Pro leads to "Licensed for Developers Use Only"

280
3
06-27-2024 05:04 AM
dalguy72a
New Contributor

I need to add to my ArcGIS Pro add-in a standalone map control to display in a dialog box, that is independent from the map panes.   In the ArcMap days, I would have used the ArcEngine SDK.   The closest thing appears to be the ArcGIS Maps SDK's, and I am using the .NET edition.    I tried to add the API key to the module's Initialized function : 

 

protected override bool Initialize()
{
base.Initialize();
ArcGISRuntimeEnvironment.ApiKey = "MyAPIKEY";

return true;

}

and had no luck.   I tried adding it to the constructor of the dialog box, and no luck there.  I keep getting the "Licensed for Developers Use Only" on the map.   What am I missing here, or is it not possible to use the ArcGIS Map SDK's MapView control inside of ArcGIS Pro?

 

Steve

0 Kudos
3 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

ArcGIS Pro has its own MapControl which you could add to ProWindow or CustomControl. There are some samples with MapControl in ArcGIS Pro SDK community samples page 

OverviewMapControl, MagnifierWindow and MapControl.

0 Kudos
dotMorten_esri
Esri Notable Contributor

To get rid of the watermark you need to call ArcGISRuntimeEnvironment.SetLicense(licensekey).

The ApiKey is for accessing ArcGIS location services

0 Kudos