dojo.byId('divLoadMessage').innerHTML = responseObject.SplashScreenMessage; dijit.byId('dialogLoadMessage').show();
esri.config.defaults.io.proxyUrl = "proxy.ashx"; esriConfig.defaults.io.alwaysUseProxy = false; dojo.xhrGet({ url: "Config.txt", handleAs: "json", preventCache: true, load: function (responseObject, ioArgs) { var mapExtent = responseObject.DefaultExtent; var zoomExtent = mapExtent.split(","); var startExtent = new esri.geometry.Extent(parseFloat(zoomExtent[0]), parseFloat(zoomExtent[1]), parseFloat(zoomExtent[2]), parseFloat(zoomExtent[3]), new esri.SpatialReference({ wkid: 2269 })); map = new esri.Map("map"); dojo.byId('divLoadMessage').innerHTML = responseObject.SplashScreenMessage; dijit.byId('dialogLoadMessage').show(); hasCustomRenderer = responseObject.CustomRenderer; rendererColor = responseObject.RendererColor; map.setExtent(startExtent); locatorURL = responseObject.Locator; defaultAddress = responseObject.DefaultAddress; helpFileURL = responseObject.helpURL; defaultCmnt = responseObject.DefaultCmnt; devPlanLayerURL = responseObject.DevPlanLayer; commentLayerURL = responseObject.CommentLayer;
<div id="dialogLoadMessage" dojotype="dijit.Dialog" style="width: 350px;"> <table> <tr> <td> <div id="divLoadMessage" style="background: black; color: White;"> </div> </td> </tr> <tr> <td align="center"> <div class="divOk" onclick="dijit.byId('dialogLoadMessage').hide();"> OK</div> </td> </tr> </table> </div> <div id="dojoStandBy" dojotype="dojox.widget.Standby" color="black"> </div> </div> </body> </html>
'CustomRenderer' : false, 'RendererColor' : "#1C86EE", 'SplashScreenMessage' : "<big><b>Land Use Public Notification</b> <br/> <hr/> <br/>The <b>Land Use Public Notification</b> application allows local government staff to identify properties within a given distance (buffer) of a subject property and generate mailing labels and/or a structured text file for owners and occupants that fall within the buffer.<br/><br/>This application is typically used by local planning and zoning officials, but can be used by any agency looking to notify property owners and occupants of a formal action being taken. The process of public notification allows adjoining or nearby property owners, and others, the opportunity to look at a proposed development, consider the likely impacts the proposal may have on them, and provide comment (either positive or negative) about the proposal prior to a decision being made.<big/><br/><br/>", 'BaseMapLayers' : [ {"Key": "parcelMap", "ThumbnailSource": "images/Parcel map.png", "Name" : "Parcels", MapURL: "http://webags.co.washington.or.us/ArcGIS/rest/services/Washco_primary_basemap_SP/MapServer"}, {"Key": "hybridMap", "ThumbnailSource": "images/Imagery Hybrid.png", "Name" : "Imagery", MapURL: "http://webags.co.washington.or.us/ArcGIS/rest/services/Washco_orthos2008_StatePlane/MapServer"} ] }
//Function to initialize the map and read data from Configuration file function Init() { ShowLoadingMessage('Loading...'); esri.config.defaults.io.proxyUrl = "proxy.ashx"; esri.config.defaults.io.alwaysUseProxy = false; esri.config.defaults.io.timeout = 600000; //timeout for querytask dojo.xhrGet({ url: "Config.txt", handleAs: "json", preventCache: true, load: function (responseObject, ioArgs) { dojo.byId('divLoadMessage').innerHTML = responseObject.SplashScreenMessage; dijit.byId('dialogLoadMessage').show();
var myMessage = "welcome blurb for your site"; dojo.byId('divLoadMessage').innerHTML = myMessage; dijit.byId('dialogLoadMessage').show();
<div id="dialogLoadMessage" dojotype="dijit.Dialog" style="width: 350px;"> <table> <tr> <td> <div id="divLoadMessage" style="background: black; color: White;"> </div> </td> </tr> <tr> <td align="center"> <div class="divOk" onclick="dijit.byId('dialogLoadMessage').hide();"> OK</div> </td> </tr> </table> </div>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.