Gets or sets the URL of the control's license file.
Namespace: MindFusion.Mapping
Package: Control.js
JavaScript Copy Code |
---|
Object.defineProperty(Control.prototype, "licenseLocation", { value: String }); |
String. A valid URL string that specifies the location of the license key.
The license key should be placed in a simple *.txt. Store it in a secure location on your web server.
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.