worldwind - Understanding Java reference material; World Wind Network Link -
i'm struggling how make question stack overflow-appropriate, if fail i'm sorry.
i'm not best java developer, obviously, i'm trying learn , have project built uses nasa's world wind. have appears documentation on how use existing code. however, inexperience disabling.
specifically, looking @ function: http://builds.worldwind.arc.nasa.gov/worldwind-releases/1.5/docs/api/gov/nasa/worldwind/ogc/kml/kmlnetworklink.html
i'm trying establish network link kml updates based on interval. that's easy in google earth.
first of all, why there "protected" "fields"? third 1 down under field summary "kmllink" seems useful can't access it. why protected , why bother document things don't expect users access?
furthermore, if can understand reference material can me establish network link, great.
kmlnetworklink net = new kmlnetworklink("http://10.156.13.141:1337/kml/myflyto.kml"); net.setvisibility(true); system.out.println(net.getlink()); system.out.println(net.getaddress()); system.out.println(net.getcharacters()); net.addfeature(net); this nothing. returns null print lines, , don't know why. have server running , have verified that link appropriate. documentation says kmlnetworklink wants uri reference, means nothing me.
thanks help, stackies.
you've asked several questions , no 1 else jumping in, i'll can.
there "protected" fields use classes extend class -- level @ protected field visible. fact it's protected indicates expect users access it, class extending one.
i cannot, unfortunately, tell what's wrong call. find curious that, although not working, state have "verified that link appropriate" -- how did verify that? i'm not saying you're wrong, don't know.
the way find out "uri reference" means search further in kml doc and/or put google.
Comments
Post a Comment