![]() |
CreateImageryLayer License Required! |
Post Reply
|
| Author | |
cehui0303
Visitor
Joined: September 08 2010 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: CreateImageryLayer License Required!Posted: September 08 2010 at 1:08pm |
|
Dear God:
I was very frustrated that my web application was run very well in server side,but when i view it in the client side, it always report that "License Required".
I found the following code leads to the error:
var url = skRootURL + '/cloud/201009071100.png';
var x1 = 91.848860; var y1 = 38.768197; var x2 = 151.323338; var y2 = 1.838574; try {
var obj = globe.creator.createImageryLayer(url, x1, y1, x2, y2); if (obj == null) { alert(globe.lastError.description); } else { // alert('add OK!'); } } catch (e) { alert(e.message); } it runs very well in server side ,but how does the user to view the same result?
|
|
![]() |
|
Eylon
Skyline Admin Group
Joined: May 05 2003 Location: Israel Status: Offline Points: 263 |
Post Options
Thanks(0)
Quote Reply
Posted: November 09 2010 at 5:27pm |
|
Hello,
Your code includes TerraExplorer Plus functionality (Pro API) that requires a license for the client side.
Such a license can be provided for a web project using the TerraGate Internet License Service:
Hope it helps.
|
|
|
Eylon
|
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |