ASP.NET Pack Programmer's Guide
Control.licenseLocation Property
See Also
 





Gets or sets the URL of the control's license file.

Namespace: MindFusion.Mapping
Package: Control.js

 Syntax

JavaScript  Copy Code

Object.defineProperty(Control.prototype, "licenseLocation", { value: String });

 Property Value

String. A valid URL string that specifies the location of the license key.

 Remarks

The license key should be placed in a simple *.txt. Store it in a secure location on your web server.

 Example

The following example creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page. Then it sets the location of the license file to a folder to which there is no outside access. The MapView derives from Control.

 See Also

Control Members
Control Class
MindFusion.Mapping Namespace