My Account
Token
Log out
Login
English
English
简体中文
home
>
maps
>
map(centerlinec@aomen)
>
layers
>
layer(centerlinec@aomen)
VectorStyles
Description:
The set of vector styles. You can query the vector style according to style type and layer name.
Style
FreeMarker template error (DEBUG mode; use RETHROW in production!): For "." left-hand operand: Expected a hash, but this has evaluated to a boolean (wrapper: f.t.TrueTemplateBooleanModel): ==> resource.content [in template "vectorStyles.ftl" at line 21, column 70] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if resource.content.style?? [in template "vectorStyles.ftl" at line 21, column 65] ---- Java stack trace (for programmers): ---- freemarker.core.NonHashException: [... Exception message was already printed; see it above ...] at freemarker.core.Dot._eval(Dot.java:48) at freemarker.core.Expression.eval(Expression.java:83) at freemarker.core.ExistsExpression._eval(ExistsExpression.java:49) at freemarker.core.Expression.eval(Expression.java:83) at freemarker.core.Expression.evalToBoolean(Expression.java:161) at freemarker.core.Expression.evalToBoolean(Expression.java:147) at freemarker.core.IfBlock.accept(IfBlock.java:49) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.process(Environment.java:309) at freemarker.template.Template.process(Template.java:384) at org.restlet.ext.freemarker.TemplateRepresentation.write(TemplateRepresentation.java:315) at org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:67) at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:507) at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:451) at org.restlet.ext.servlet.internal.ServletCall.sendResponse(ServletCall.java:421) at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:191) at org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:196) at com.supermap.services.rest.RestServlet$AdapterProxy.service(SourceFile:261) at com.supermap.services.rest.RestServlet.service(SourceFile:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at com.supermap.server.host.webapp.handlers.WebAppRequestDispatcher.forward(SourceFile:63) at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(SourceFile:61) at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(SourceFile:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handleRequestByCacheResponse(SourceFile:551) at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handle(SourceFile:410) at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:197) at com.supermap.server.host.webapp.handlers.AbstractHandler.a(SourceFile:223) at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(SourceFile:212) at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:199) at com.supermap.server.host.webapp.handlers.BasicHandler.process(SourceFile:324) at com.supermap.server.host.webapp.ApplicationFilter.doFilter(SourceFile:254) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:423) at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) <!DOCTYPE HTML PUBLIC "-//W3C//DTD xhtml 1.0 strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"/> <meta http-equiv="pragma" content="no-cache"/> <title>SuperMap iServer REST API </title> <script src="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/jquery/jquery-1.10.2.min.js"> </script> <script language="JavaScript" type="text/javascript" src="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/js/bootstrap.min.js"></script> <link rel="stylesheet" type="text/css" href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/css/iserver/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/css/head_iserver.css"/> <link rel="stylesheet" type="text/css" href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/css/profile_iserver.css"/> <script type="text/javascript" src="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/js/updateURI.js"></script> <script type="text/javascript"> function search(event){ var keycode = event.keyCode; if(!keycode){ keycode = event.which; } if(keycode == 13 ){ var searchUrl = "https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/search?resourceID=" ; var resourceID = document.getElementById("resourceID").value; searchUrl = searchUrl + resourceID; // 用utf-8 格式进行URL 编码。 searchUrl = encodeURI(searchUrl) location = searchUrl; } } var Sys = {}; var ua = navigator.userAgent.toLowerCase(); var ieResult = ua.match(/msie ([\d.]+)/i); var ffResult = ua.match(/firefox\/([\d.]+)/i); var chromeResult = ua.match(/chrome\/([\d.]+)/i); var operaResult = ua.match(/opera.([\d.]+)/i); var safariResult = ua.match(/version\/([\d.]+)/i) window.ActiveXObject && ieResult ? Sys.ie = ieResult[1] : document.getBoxObjectFor && ffResult ? Sys.firefox = ffResult[1] : window.MessageEvent && !document.getBoxObjectFor && chromeResult? Sys.chrome = chromeResult[1] : window.opera && operaResult ? Sys.opera = operaResult[1] : window.openDatabase && safariResult ? Sys.safari = safariResult[1] : 0; if(Sys.ie&&Sys.ie<7.0){ window.attachEvent("onload", correctPNG); } displayCurrentUserInfo(); // 下面定义脚本方法 function correctPNG(){ for(var i = 0; i < document.images.length; i++){ var img = document.images[i]; var imgName = img.src.toUpperCase(); if(imgName.substring(imgName.length - 3, imgName.length) == "PNG"){ var imgID = (img.id) ? "id='" + img.id + "'" : ""; var imgClass = (img.className) ? "class='" + img.className + "'" : ""; var imgTitle = (img.title) ? "title='" + img.title + "'" : "title='" + img.alt + "'"; var imgStyle = "display:inline-block;" + img.style.cssText; if(img.align == "left") imgStyle = "float:left;" + imgStyle; if(img.align == "right") imgStyle = "float:right;" + imgStyle; if(img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle; var strNewHTML = "<span " + imgID + imgClass + imgTitle + "style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle+";" + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"</span>" img.outerHTML = strNewHTML; i = i-1; }; }; }; function getUrlParam(name){ //获取URL指定名字的查询字符串值 var reg = new RegExp("[?&]" + name + "=([^?&]*)[&]?", "i"); var match; match = location.search.match(reg); return match == null ? "" : match[1]; }; function displayCurrentUserInfo(){ var UserName = null; var url = this.getRootUrl() + "/iserver/services/security/profile.json"; $.ajax({ type: "GET", url: url, dataType: "json", success: function(data) { UserName = data.name; if(UserName != null && UserName != "anonym") { $("#logoutLink").children("div").children("a").innerHtml = UserName; var html = $("#logoutLink").children("div").children("a").html(); html = UserName + html; $("#logoutLink").children("div").children("a").html(html); $("#logoutLink").children("div").show(); $("#logoutLink").children("a").hide(); }else{ $("#logoutLink").children("a").show(); $("#logoutLink").children("div").hide(); } } }); }; function getRootUrl() { var rootUrl = "", regExp = /\/apps|\/web|\/manager|\/services/i,//该正则用于取出contextPath href = window.location.href, index = href.search(regExp); rootUrl += href.indexOf("https") === 0 ? "https://" : "http://"; rootUrl += window.location.host; return rootUrl; }; //设置语言...开始 function setCookie(c_name, value, expiredays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expiredays); var protocol = window.location.protocol; var secure =""; if(protocol === "https:"){ secure = ";secure=true"; } var cookieVal = c_name + "=" + escape(value) + ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString()) + ";path=/" + secure; document.cookie = cookieVal; }; function delCookie(name){ var date = new Date(); date.setTime(date.getTime() - 10000); document.cookie = name + "=a;expires=" + date.toGMTString()+";path=/"; }; function selectLanguage(language){ delCookie("language"); setTimeout("",100); setCookie("language",language,3600*24*31); window.location.reload(); }; //set language end </script> </head> <body> <!--headline begin--> <div class="topWrapper"> <div class="topWrapper_header iServer" id="topWrapper_header"> <!--<div class="topheadcon">--> <div class="logotopWrapper"> <a href="/iserver/services/map-AomenTesting/rest/../../../"> <div class="topLogo iServer"> <img src='https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/img/headImg/iServer_logo.png'> </div> </a> </div> <div class="topWrapMenu"> <div id="search"> <form id="searchForm" method="get" action="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/search"> <input id="form_input" type="text" size="20" name="resourceID" id="resourceID" value="resourceID" onkeyup="search(event)"></input> <input id="form_go" class="qbtn" type="submit" style="line-height:10px;" title="search" value="search"></input> </form> </div> <div id="logoutLink" class="logoutLink" style="display: block; "> <div class="btn-group" style="display:none"> <a class="btn" data-toggle="dropdown"> <span class="caret"></span> </a> <ul class="dropdown-menu iServer" role="menu"> <li class="dropdown-menuli"><a href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/../../security/profile">My Account</a></li> <li class="dropdown-menuli"><a href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/../../security/tokens">Token</a></li> <li class="dropdown-menuli"><a href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/../../security/logout">Log out</a></li> </ul> </div> <a href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/../../security/login" style="vertical-align: middle;display:none"> <span id="login"> <span id="gbi4m1">Login</span> </span> </a> </div> <div class="logoutLink"> <div class="btn-group" id="language"> <a class="btn" data-toggle="dropdown"> <span>English</span> <span class="caret"></span> </a> <ul class="dropdown-menu iServer" role="menu"> <li class="dropdown-menuli" onclick="selectLanguage('en-US')"><a>English</a></li> <li class="dropdown-menuli" onclick="selectLanguage('zh-CN')"><a>简体中文</a></li> </ul> </div> </div> <a href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/../../../help/index.htm#mergedProjects/SuperMapiServerRESTAPI/resource_hierarchy.htm"> <div class="help"> <svg> <image xlink:href="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/img/headImg/help.svg" src="https://bis.dsat.gov.mo:8191/iserver/services/map-AomenTesting/rest/static/img/headImg/help.png" width="18" height="18"/> </svg> </div> </a> </div> <!--</div>--> </div> <div class="topWrapper_bottom iServer"> <div class="blueBlock iServer"></div> <a href='/iserver/services/map-AomenTesting/rest' id="topbotHome" class="link1">home</a> > <a href='/iserver/services/map-AomenTesting/rest/maps' id="topbotHome" class="link1">maps</a> > <a href='/iserver/services/map-AomenTesting/rest/maps/centerlinec@aomen' id="topbotHome" class="link1">map(centerlinec@aomen)</a> > <a href='/iserver/services/map-AomenTesting/rest/maps/centerlinec@aomen/layers' id="topbotHome" class="link1">layers</a> > <a href='/iserver/services/map-AomenTesting/rest/maps/centerlinec@aomen/layers/centerlinec@aomen' id="topbotHome" class="link1">layer(centerlinec@aomen)</a> </div> </div> <!--headline end--> <div class="bodyDIv"><div id="content" valign="top" width="100%"> <h1>visible</h1> <table width="100%"> <tr> <td width="78%"> <div id="resourceContent"> <br> <br> <b>Description: </b> <br> Whether the layer is visible. <div class="restBody"> <br> <br> <p> Visible: true </p> </div> </div> </td> <td width="2%" style="border-right:1px solid #c9d7f1;"> </td> <td width="20%" valign="top"> <div style="position:relative; left:0px; top:5px;" valign="top"> <div id="methodDiv" width="100px" style="position:relative; left:0px; top:5px;text-align:left;" valign="top"> <span><strong>HTTP methods</strong></span> <ul style="text-align: left;"> <li><a class="linkitem" onclick="toOperationURL('GET')">GET</a></li> <li>HEAD</li> </ul> </div> <br> <div style="width:100%;border-top:1px solid #c9d7f1;left:0"></div> <div id="mediaTypeDiv" width="100px" style="position:relative; top:5px;left:0px;text-align:left;"> <span><strong>Output formats</strong></span> <ul> <li><a class="linkitem" href="/iserver/services/map-AomenTesting/rest/maps/centerlinec%40aomen/layers/centerlinec%40aomen/visible.xml">xml </a> </li> <li><a class="linkitem" href="/iserver/services/map-AomenTesting/rest/maps/centerlinec%40aomen/layers/centerlinec%40aomen/visible.json">json </a> </li> <li><a class="linkitem" href="/iserver/services/map-AomenTesting/rest/maps/centerlinec%40aomen/layers/centerlinec%40aomen/visible.fastjson">fastjson </a> </li> <li><a class="linkitem" href="/iserver/services/map-AomenTesting/rest/maps/centerlinec%40aomen/layers/centerlinec%40aomen/visible.rjson">rjson </a> </li> <li><a class="linkitem" href="/iserver/services/map-AomenTesting/rest/maps/centerlinec%40aomen/layers/centerlinec%40aomen/visible.html">html </a> </li> <li><a class="linkitem" href="/iserver/services/map-AomenTesting/rest/maps/centerlinec%40aomen/layers/centerlinec%40aomen/visible.jsonp">jsonp </a> </li> </ul> </div> </div> <script> function toOperationURL(operation){ var currentURL = getCurrentURL(false); if("GET" == operation){ location.href = currentURL + ""; } } function getPostfixURL(postfix){ //Filter out useless query parameters var url = getCurrentURL(false) + "." + postfix; var queryString = ''; if(queryString != null){ queryString = decodeURIComponent(queryString); if(queryString != ""){ var queryArray = queryString.split("&"); queryString = "?"; for(i=0;i<queryArray.length;i++){ var match=queryArray[i].match(/([^=]+)=([^=]+)/); if(match != null){ if(match[1]=="getMethodForm" || match[1]=="returnPostAction" || match[1]=="returnPutAction"){ continue; } if(queryString.length>1){ queryString += "&"; } queryString += match[1] + "=" + match[2]; } } if(queryString != "?"){ url += queryString; } } } location.href = url; } function getCurrentURL(returnPostfix){ var url =location.protocol + "//" + location.host + location.pathname; if(!returnPostfix){ var postfixs = []; postfixs.push("."+"xml"); postfixs.push("."+"json"); postfixs.push("."+"fastjson"); postfixs.push("."+"rjson"); postfixs.push("."+"html"); postfixs.push("."+"jsonp"); postfixs.push("."+"java"); for(var i=0;i<postfixs.length;i++){ if(url.lastIndexOf(postfixs[i]) == url.length-postfixs[i].length){ url = url.replace(postfixs[i],""); } } /*if(url.lastIndexOf(".html") == url.length-5){ url = url.replace(".html",""); } if(url.lastIndexOf(".jsonp") == url.length-6){ url = url.replace(".jsonp",""); }*/ } return url; } </script> </td> </tr> </table> </div> </div> <div class="bottomWrapper"> <div class="blank footerblank" style="width:100%;height:15px;float:left;"></div> <div id="footer" style="float:left;border-top:1px solid #e5e5e5;position:relative;margin-top:0px;text-align:center;height:40px;width:100%;"> <p style="margin-top:10px;color:#7d7d7d;font-size:14px;">Powered by SuperMap iServer 9D(2019)(9.1.2-linux64) </a> © 2000-2019 <a style="color:#7d7d7d;text-decoration:none;" href="http://www.supermap.com.cn">SuperMap Software Co., Ltd.</a></p> </div> </div> </body> </html>