www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe General Support > Using SkylineGlobe
  New Posts New Posts RSS Feed - CreateImageryLayer License Required!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CreateImageryLayer License Required!

 Post Reply Post Reply
Author
Message
cehui0303 View Drop Down
Visitor
Visitor


Joined: September 08 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cehui0303 Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Eylon View Drop Down
Skyline Admin Group
Skyline Admin Group
Avatar

Joined: May 05 2003
Location: Israel
Status: Offline
Points: 341
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eylon Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.