dojo.require("esri.map"); dojo.require("esri.tasks.query"); dojo.require("esri.tasks.identify"); dojo.require("dijit.Dialog"); dojo.require("dojo.parser"); dojo.require("dijit.layout.AccordionContainer"); dojo.require("dijit.layout.BorderContainer"); dojo.require("dijit.layout.ContentPane"); dojo.require("dijit.layout.TabContainer"); dojo.require("dijit.TitlePane"); // needed? dojo.require("dijit.form.HorizontalSlider"); // needed? dojo.require("dijit.form.Button"); dojo.require("dijits.overview.OverviewMap"); dojo.require("dojo.date"); // for print clocking dojo.require("dojo.date.stamp"); // for print clocking dojo.require("geo.tasks.reporter"); dojo.require("geo.tasks.ReportServiceParameters"); dojo.require("geo.tasks.ReportServiceResults"); var layer, map, visible, lodsArr, resizeTimer, overviewMapDijit, geometrySvc, idConnect, tb, bizSvc, baseSvc, baseMap, layerStore; hostName = document.location.host; // get services relative to test/prod environment bizSvc = []; baseSvc = []; layerStore = []; lodsArr = []; /* +++++++++ CONFIGURATION +++++++++ */ // set to TRUE for verbose firebugging internalDebug = true; bizSvc.push("uwe_div"); layerStore["uwe_div"] = []; if (internalDebug) { console.log('STATUS: access config db for svc uwe_div'); } layerStore["uwe_div"].push({name_ags: "gewnetz_struk_txt", name_sde: "GEO.GEO_00100044001 ", name_alias: "Beschriftung Gewässernetz, strukturiert", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gewnetz_vermessen_txt", name_sde: "GEO.GEO_00100944001 ", name_alias: "Beschriftung Gewässernetz, vermessen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "oflwas_bauwerke", name_sde: "GEO.GEO_00100044001 ", name_alias: "Oberflächenwasser: Bauwerke", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_betriebe", name_sde: "GEO.GEO_00101008001", name_alias: "Technische Gefahren: Betriebe", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gruwas_anreicherungsanlage", name_sde: "GEO.GEO_00100044001 ", name_alias: "Grundwasser: Anreicherungsanlage", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "hfab_anlagen", name_sde: "GEO.GEO_00100068001", name_alias: "Entsorgungsanlagen mit Anlagenbetreiber", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "lri_pt", name_sde: "GEO.GEO_00100025001", name_alias: "Lebensrauminventar LRI (Punkte)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_profile", name_sde: "GEO.GEO_00100660001", name_alias: "Bodenprofile", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "schlae_empfangspunkt", name_sde: "GEO.GEO_00100323001", name_alias: "Schiesslärm: Lärmempfangspunkte", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "schlae_schusslinien", name_sde: "GEO.GEO_00100321001", name_alias: "Schusslinien", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "schlae_schuetzenhaus", name_sde: "GEO.GEO_00100971001", name_alias: "Schiessanlagen: Schützenhaus", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "schlae_scheibenstand", name_sde: "GEO.GEO_00100971001", name_alias: "Schiessanlagen: Scheibenstand", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "mobfun_standorte", name_sde: "GEO.GEO_00100070001", name_alias: "Mobilfunkstandorte", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "strlae_immissionspunkte", name_sde: "GEO.GEO_00100782001", name_alias: "Strassenlärm: Empfangspunkte", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "lri_li", name_sde: "GEO.GEO_00100025003", name_alias: "Lebensrauminventar LRI (Linien)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "strlae_emissionslinien", name_sde: "GEO.GEO_00100247001", name_alias: "Strassenlärm: Emissionslinien", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gruwas_horizontalfilterstrecken", name_sde: "GEO.GEO_00100893001", name_alias: "Grundwasser: Horizontalfilterstrecken", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gruwas_fassungsleit", name_sde: "GEO.GEO_00100890001", name_alias: "Oberflächenwasser: Fassungsleitungen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "quellwas_fassungsleit ", name_sde: "GEO.GEO_00100892001", name_alias: "Quellwasser: Fassungsleitungen ", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "quellwas_fassungsnetz", name_sde: "GEO.GEO_00100893001", name_alias: "Quellwasser: Fassungsnetz (Sammelquellen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_rueckgabeleit", name_sde: "GEO.GEO_00100895001", name_alias: "Wassernutzung: Rückgabeleitungen ", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_begrenzung", name_sde: "GEO.GEO_00100435001", name_alias: "Grundwasserberandung", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_isohypsen_druckspiegel", name_sde: "GEO.GEO_00100395001", name_alias: "Grundwasser-Isohypsen: Druckspiegel", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_isohypsen_normal", name_sde: "GEO.GEO_00100395001", name_alias: "Grundwasser-Isohypsen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "schlae_isophonen", name_sde: "GEO.GEO_00100322001", name_alias: "Isophonen", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gewnetz_struk", name_sde: "GEO.GEO_00100044001", name_alias: "Gewässernetz, strukturiert", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gewnetz_kein_gewaesser", name_sde: "GEO.GEO_00101074001", name_alias: "lFiessgewässer: keine Gewässer im rechtlichen Sinn", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gewnetz_rechtsverhaeltnisse", name_sde: "GEO.GEO_00101073001", name_alias: "Fliessgewässer: Rechtsverhältnisse", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gewnetz_kuenstlich", name_sde: "GEO.GEO_00101072001", name_alias: "Fliessgewässer: künstlich angelegt", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gewnetz_vermessen", name_sde: "GEO.GEO_00100944001", name_alias: "Gewässernetz, vermessen", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "gew_bauprojekte", name_sde: "GEO.GEO_00100959002 ", name_alias: "Wasserbauprojekte VIF", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_bahnstrecken", name_sde: "GEO.GEO_00100897001", name_alias: "Technische Gefahren: Bahnstrecken", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_nationalstrassen", name_sde: "GEO.GEO_00100261005", name_alias: "Technische Gefahren: Nationalstrassen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_durchgangsstrassen", name_sde: "GEO.GEO_00101009001", name_alias: "Technische Gefahren: Durchgangsstrassen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_gasleitungen", name_sde: "GEO.GEO_00100607001", name_alias: "Technische Gefahren: Gasleitungen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_konsultationsbereich_eisenbahn", name_sde: "GEO.GEO_00101010001", name_alias: "Technische Gefahren: Konsultationsbereich Bahnstrecken", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_konsultationsbereich_nationalstrasse", name_sde: "GEO.GEO_00101010001", name_alias: "Technische Gefahren: Konsultationsbereich Nationalstrassen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_konsultationsbereich_betrieb", name_sde: "GEO.GEO_00101010001", name_alias: "Technische Gefahren: Konsultationsbereich Betriebe", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_konsultationsbereich_gasleitung", name_sde: "GEO.GEO_00101010001", name_alias: "Technische Gefahren: Konsultationsbereich Gasleitungen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "stoerfall_konsultationsbereich_durchgangsstrasse", name_sde: "GEO.GEO_00101010001", name_alias: "Technische Gefahren: Konsultationsbereich Durchgangstrassen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_gwbereich_au", name_sde: "GEO.GEO_00100293001", name_alias: "Gewässerschutzbereich Au", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_nn_gwvorkommen", name_sde: "GEO.GEO_00100578001", name_alias: "nicht nutzbare Grundwasservorkommen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_kluftwasser", name_sde: "GEO.GEO_00100580001", name_alias: "Kluftwasser möglich", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_erdgasvorkommen", name_sde: "GEO.GEO_00100581001", name_alias: "Erdgas möglich", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_einlverbot", name_sde: "GEO.GEO_00100579001", name_alias: "Einleitungsverbot in ARA", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_uebersicht", name_sde: "GEO.GEO_00100661004", name_alias: "Übersicht vorhandene Bodenkarten", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "lri_fl", name_sde: "GEO.GEO_00100025002", name_alias: "Lebensrauminventar LRI (Flächen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "hfab_bodenaufbau", name_sde: "GEO.GEO_00100781001", name_alias: "Veränderung des Bodenaufbaus", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "hfab_auffuellung", name_sde: "GEO.GEO_00100781001", name_alias: "Auffüllung", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "hfab_ablagerungen", name_sde: "GEO.GEO_00100781001", name_alias: "Belasteter Ablagerungsstandort", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "hfab_schuettung", name_sde: "GEO.GEO_00100781001", name_alias: "Schüttung", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "hfab_organ_bod", name_sde: "GEO.GEO_00100781001", name_alias: "Organische Böden", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "lri_geo", name_sde: "GEO.GEO_00100524001", name_alias: "Lebensrauminventar LRI: Geoobjekte", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_erobod", name_sde: "GEO.GEO_00100397001", name_alias: "Bodengefährdung Erosion", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_hitz_ausw", name_sde: "GEO.GEO_00100084001", name_alias: "Risikokarten Hitzkirch: Auswaschungsrisiko", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_hitz_absw", name_sde: "GEO.GEO_00100083001", name_alias: "Risikokarten Hitzkirch: Abschwemmungsrisiko", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_5", name_sde: "GEO.GEO_00100661003_V1", name_alias: "Bodenkarten (Erfassungsmassstab 1:5000)", vis: 0, vis_min: 50000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_10", name_sde: "GEO.GEO_00100661002_V1", name_alias: "Bodenkarten (Erfassungsmassstab 1:10000)", vis: 0, vis_min: 100000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_25", name_sde: "GEO.GEO_00100661001_V1", name_alias: "Bodenkarten (Erfassungsmassstab 1:25000)", vis: 0, vis_min: 200000, vis_max: 25000 }); layerStore["uwe_div"].push({name_ags: "bodkar_200", name_sde: "GEO.GEO_00100081001", name_alias: "Bodenkartierung LK200", vis: 0, vis_min: 350000, vis_max: 25000 }); layerStore["uwe_div"].push({name_ags: "geschu_oberfl_artesisch", name_sde: "GEO.GEO_00100903001", name_alias: "Artesisch gespannte Grundwasseroberflächen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_zustroembereiche", name_sde: "GEO.GEO_00100510001", name_alias: "Gewässerschutz: Zuströmbereiche Zu und Zo", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_stockwerk_tief", name_sde: "GEO.GEO_00100383001", name_alias: "tiefes Grundwasserstockwerk", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_schutzareale", name_sde: "GEO.GEO_00100896001", name_alias: "Grundwasserschutz: Areale", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_schutzzonen", name_sde: "GEO.GEO_00100882001", name_alias: "Grundwasserschutz: Zonen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_schutzbereiche", name_sde: "GEO.GEO_00100883001", name_alias: "Gewässerschutz: Bereiche Au und Ao", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "geschu_maechtigkeit", name_sde: "GEO.GEO_00100380001", name_alias: "Grundwassermächtigkeit", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "altlas_unfaelle", name_sde: "UWE_ALT.GEO_00100588001_V1", name_alias: "Belastete Standorte durch Unfälle", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "altlas_betriebe", name_sde: "UWE_ALT.GEO_00100587001_V1", name_alias: "Belastete Standorte durch Betriebe", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "altlas_ablagerungen", name_sde: "UWE_ALT.GEO_00100586001_V1", name_alias: "Belastete Standorte durch Ablagerungen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "solarpot_katast", name_sde: "GEO.GEO_00100853001", name_alias: "Solarpotentialkataster: Eignung", vis: 1, vis_min: 10000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_altlas_unfaelle", name_sde: "UWE_ALT.GEO_00100588001_V1", name_alias: "Unfallstandorte", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_altlas_betriebe", name_sde: "UWE_ALT.GEO_00100587001_V1", name_alias: "Betriebsstandorte", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_altlas_ablagerungen", name_sde: "UWE_ALT.GEO_00100586001_V1", name_alias: "Ablagerungsstandorte", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_rutschungen", name_sde: "GEO.GEO_00100577001", name_alias: "Rutschungen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_geogeneprobleme", name_sde: "GEO.GEO_00100576001", name_alias: "geogene Probleme, Bauten", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_gwszonenareale", name_sde: "GEO.GEO_00100574001", name_alias: "GW-Schutzzonen u. Areale", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_gwvorkommen_ug", name_sde: "GEO.GEO_00100572001", name_alias: "bedingt nutzbares GW", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_gn_gwvorkommen", name_sde: "GEO.GEO_00100575001", name_alias: "genutztes Grundwasser", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_gwbereiche_ueao", name_sde: "GEO.GEO_00100570001", name_alias: "GSB Ao + übriger Bereich", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "erdwae_randgwbereich_au", name_sde: "GEO.GEO_00100571001", name_alias: "Randgebiete Gewässerschutzbereich Au", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "bodkar_dtm12_hangneig", name_sde: "GEO.GEO_00100860001", name_alias: "DTM 2012: Hangneigungen", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["uwe_div"].push({name_ags: "seen_up10", name_sde: "GEO.GEO_00100343001", name_alias: "Seen, UP10", vis: 0, vis_min: 350000, vis_max: 250 }); bizSvc.push("rawi_np"); layerStore["rawi_np"] = []; if (internalDebug) { console.log('STATUS: access config db for svc rawi_np'); } layerStore["rawi_np"].push({name_ags: "bl_bemass_txt", name_sde: "GEO.GEO_00100504005", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_baulinien_txt", name_sde: "GEO.GEO_00100504003", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_swb_mas", name_sde: "GEO.GEO_00100509002", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_swb_mas", name_sde: "GEO.GEO_00100509002", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_txt", name_sde: "GEO.GEO_00100508004", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_kat", name_sde: "GEO.GEO_00100508005", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_grund_txt", name_sde: "GEO.GEO_00100507002", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_grund_kat", name_sde: "GEO.GEO_00100507003", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_kulden_overview", name_sde: "GEO.GEO_00100773004", name_alias: "Kantonales Denkmalverzeichnis: Übersicht", vis: 0, vis_min: 350000, vis_max: 17500 }); layerStore["rawi_np"].push({name_ags: "bilu_kulden_overview", name_sde: "GEO.GEO_00100773004", name_alias: "Bauinventar: Übersicht", vis: 0, vis_min: 350000, vis_max: 17500 }); layerStore["rawi_np"].push({name_ags: "bilu_grp", name_sde: "GEO.GEO_00100774001", name_alias: "Bauinventar: Baugruppen", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_pt_kulden", name_sde: "GEO.GEO_00100775003", name_alias: "KDV (Punkte), optimiert für OK Kulturdenkmäler", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_pt", name_sde: "GEO.GEO_00100775003", name_alias: "Kantonales Denkmalverzeichnis (Punkte)", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bilu_pt", name_sde: "GEO.GEO_00100773003", name_alias: "Bauinventar (Punkte)", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bebauung_pt", name_sde: "GEO.GEO_00100565003 ", name_alias: "Bebauungspläne (Punkte)", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_pt_rechtsstatus", name_sde: "GEO.GEO_00100508003", name_alias: "Zonenpläne: Überlagerungen (Punkte) - Rechtsstatus", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_pt", name_sde: "GEO.GEO_00100508003", name_alias: "Zonenpläne: Überlagerungen (Punkte)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_li", name_sde: "GEO.GEO_00100775002", name_alias: "Kantonales Denkmalverzeichnis (Linien)", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bilu_li", name_sde: "GEO.GEO_00100773002", name_alias: "Bauinventar (Linien)", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_bemass", name_sde: "GEO.GEO_00100504004", name_alias: "NONE", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_baulinien_li", name_sde: "GEO.GEO_00100504001", name_alias: "Baulinien (nach Strassen- und Baulinienplänen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_swb", name_sde: "GEO.GEO_00100509001", name_alias: "Baulinien (nach Kommunalen Zonenplänen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_bebauung", name_sde: "GEO.GEO_00100565002", name_alias: "Baulinien (nach Bebauungsplänen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bebauung_li", name_sde: "GEO.GEO_00100565002", name_alias: "Bebauungspläne (Linien)", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_swb", name_sde: "GEO.GEO_00100509001", name_alias: "Zonenpläne: Statische Waldgrenze", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_li_rechtsstatus", name_sde: "GEO.GEO_00100508002", name_alias: "Zonenpläne: Überlagerungen (Linien) - Rechtsstatus", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_kleingewaesser_li", name_sde: "GEO.GEO_00100508002", name_alias: "Zonenpläne: Überlagerungen (Linien) - Kleingewässer", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_gehoelz_li", name_sde: "GEO.GEO_00100508002", name_alias: "Zonenpläne: Überlagerungen (Linien) - Gehölz", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_pbg_li", name_sde: "GEO.GEO_00100508002", name_alias: "Zonenpläne: Überlagerungen (Linien) - nur PBG", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_li", name_sde: "GEO.GEO_00100508002", name_alias: "Zonenpläne: Überlagerungen (Linien)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bl_baulinien_fl", name_sde: "GEO.GEO_00100504002", name_alias: "Baulinien (Flächen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "gewraum_fliess_li", name_sde: "GEO.GEO_00100930001", name_alias: "Gewässerraum der Fliessgewässer (Linien)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "gewraum_fliess_fl", name_sde: "GEO.GEO_00100930002", name_alias: "Gewässerraum der Fliessgewässer (Flächen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "gewraum_steh", name_sde: "GEO.GEO_00100931001", name_alias: "Gewässerraum der stehenden Gewässer (Flächen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_fl_solarpot", name_sde: "GEO.GEO_00100775001", name_alias: "KDV (Flächen). optimiert für OK Solarpotential", vis: 1, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_fl_kulden", name_sde: "GEO.GEO_00100775001", name_alias: "KDV (Flächen). optimiert für OK Kulturdenkmäler", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "kdv_fl", name_sde: "GEO.GEO_00100775001", name_alias: "Kantonales Denkmalverzeichnis (Flächen)", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bilu_fl_solarpot", name_sde: "GEO.GEO_00100773001", name_alias: "Bauinventar (Flächen), optimiert für OK Solarpotential", vis: 1, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bilu_fl", name_sde: "GEO.GEO_00100773001", name_alias: "Bauinventar (Flächen)", vis: 0, vis_min: 10000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "lubat_unueberbaute_bauzonen", name_sde: "GEO.GEO_00100991001", name_alias: "Unüberbaute Bauzonen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "lubat_unueberbaute_areale", name_sde: "GEO.GEO_00100996001", name_alias: "Unüberbaute Areale", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "oi_gs_schutzareale", name_sde: "GEO.GEO_00100293001", name_alias: "Gewässerschutzareale", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "oi_gs_schutzzonen", name_sde: "GEO.GEO_00100293001", name_alias: "Gewässerschutzzonen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "arch_fundstellen", name_sde: "GEO.GEO_00100406001", name_alias: "Archäologische Fundstellen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bebauung_fl", name_sde: "GEO.GEO_00100565001", name_alias: "Bebauungspläne (Flächen)", vis: 0, vis_min: 5000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "gestalt_peri", name_sde: "GEO.GEO_00100720001", name_alias: "Gestaltungspläne (Perimeter)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "bebauung_peri", name_sde: "GEO.GEO_00100564001", name_alias: "Bebauungspläne (Perimeter)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_fl_rechtsstatus", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Überlagerungen (Flächen) - Rechtsstatus", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_gefzonen", name_sde: "GEO.GEO_00100659001", name_alias: "Zonenpläne: Gefahrenzonen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_ortsbildschutz", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Ortsbildschutzzonen", vis: 1, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_les_aufwertung", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Aufwertung Lärmempfindlichkeitsstufen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_gehoelz_fl", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Überlagerungen (Flächen) - Gehölze", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_ohne_les_pbg_fl", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Überlagerungen (Flächen) - nur PBG, ohne LES", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_ohne_les_fl", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Überlagerungen (Flächen) - ohne LES", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_pbg_fl", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Überlagerungen (Flächen) - nur PBG", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_ueber_fl", name_sde: "GEO.GEO_00100508001", name_alias: "Zonenpläne: Überlagerungen (Flächen)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_les", name_sde: "GEO.GEO_00100507001", name_alias: "Zonenpläne: Grundnutzung (Lärmempfindlichkeitsstufen LES)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_grund_rechtsstatus", name_sde: "GEO.GEO_00100507001", name_alias: "Zonenpläne: Grundnutzung (Rechtsstatus)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_grund_siedlung", name_sde: "GEO.GEO_00100507001", name_alias: "Zonenpläne: Grundnutzung (Siedlungsgebiet)", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_planungszonen", name_sde: "GEO.GEO_00100988001", name_alias: "Zonenpläne: Planungszonen", vis: 0, vis_min: 25000, vis_max: 250 }); layerStore["rawi_np"].push({name_ags: "np_grund", name_sde: "GEO.GEO_00100507001", name_alias: "Zonenpläne: Grundnutzung", vis: 0, vis_min: 25000, vis_max: 250 }); bizSvc.push("int_query"); layerStore["int_query"] = []; if (internalDebug) { console.log('STATUS: access config db for svc int_query'); } layerStore["int_query"].push({name_ags: "adr_geopost", name_sde: "GEO.GEO_00100006001", name_alias: "Geopost-Adressen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_gebaeudeeingaenge", name_sde: "GO.GEO_00100617001 ", name_alias: "AV Gebäudeeingänge", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_bb_txt", name_sde: "GEO.GEO_00100032002", name_alias: "Beschrift. Bodenbedeck.", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_sr", name_sde: "GEO.GEO_00100355001", name_alias: "Baurechte", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_prz", name_sde: "GEO.GEO_00100030001", name_alias: "Parzellen / Grundstücke", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_prz_proj", name_sde: "GEO.GEO_00100001001", name_alias: "Parzellen / Grundstücke, projektiert", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_sr_proj ", name_sde: "GEO.GEO_00100001001", name_alias: "Baurechte, projektiert", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "gem_up10", name_sde: "GEO.GEO_00100001001", name_alias: "Gemeinden ab ÜP10", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_ortschaftsnamen", name_sde: "GEO.GEO_00100001001", name_alias: "AAV Orthscftasnamen: Beeschriftung", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_lokale_namen_fl", name_sde: "GEO.GEO_00100605001 ", name_alias: "AV Lokale Namen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "flurnamen", name_sde: "GEO.GEO_00100048001", name_alias: "Flurnamen", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "swissnames_25", name_sde: "GEO.GEO_00100915001", name_alias: "swissnames_25", vis: 0, vis_min: 350000, vis_max: 250 }); layerStore["int_query"].push({name_ags: "av_eob_txt", name_sde: "GEO.GEO_00100001001", name_alias: "AV Einzelobjekte: Beschriftung (Gebäudenummern)", vis: 0, vis_min: 350000, vis_max: 250 }); // initialize app function init(){ var initialExtent, m1, m2, m3, m4; //define proxy page (e.g. for complex measuring) esri.config.defaults.io.proxyUrl = "../../../src/sec/proxy.ashx"; esri.config.defaults.io.alwaysUseProxy = false; // preloader dojo.byId('loaderInner').innerHTML += " fertig."; setTimeout(function hideLoader(){ var loader = dojo.byId('loader'); dojo.fadeOut({ node: loader, duration:500, onEnd: function(){ loader.style.display = "none"; } }).play(); }, 250); lodsArr = [ {"level" : 0, "resolution" : 92.6043518753704, "scale" : 350000}, {"level" : 1, "resolution" : 52.9167725002117, "scale" : 200000}, {"level" : 2, "resolution" : 26.4583862501058, "scale" : 100000}, {"level" : 3, "resolution" : 13.2291931250529, "scale" : 50000}, {"level" : 4, "resolution" : 6.61459656252646, "scale" : 25000}, {"level" : 5, "resolution" : 4.63021759376852, "scale" : 17500}, {"level" : 6, "resolution" : 2.64583862501058, "scale" : 10000}, {"level" : 7, "resolution" : 1.32291931250529, "scale" : 5000}, {"level" : 8, "resolution" : 0.793751587503175, "scale" : 3000}, {"level" : 9, "resolution" : 0.529167725002117, "scale" : 2000}, {"level" : 10, "resolution" : 0.264583862501058, "scale" : 1000}, {"level" : 11, "resolution" : 0.132291931250529, "scale" : 500}, {"level" : 12, "resolution" : 0.0661459656252646, "scale" : 250}]; // set initial extent (set crazy large to be on top LOD). Leave default and set actual extent below. initialExtent = new esri.geometry.Extent(600000, 150000, 700000, 250000, new esri.SpatialReference({ wkid: 21781 })); map = new esri.Map("map", { extent: initialExtent } ); geometrySvc = new esri.tasks.GeometryService("http://svc.geo.lu.ch/AGS/rest/services/Utilities/Geometry/GeometryServer"); var basis_baspla = new esri.layers.ArcGISTiledMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/basis/basis_baspla/MapServer", {id: "basis_baspla", visible: false }); basis_baspla.setOpacity(1); map.addLayer(basis_baspla, true); if (internalDebug) { console.log("STATUS: added base svc 'basis_baspla' (trans: SVC_TRANS_DEFAULT) from host PROD (all svc)"); } var basis_gbplan = new esri.layers.ArcGISTiledMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/basis/basis_gbplan/MapServer", {id: "basis_gbplan", visible: false }); basis_gbplan.setOpacity(1); map.addLayer(basis_gbplan, true); if (internalDebug) { console.log("STATUS: added base svc 'basis_gbplan' (trans: SVC_TRANS_DEFAULT) from host PROD (all svc)"); } var basis_terrain = new esri.layers.ArcGISTiledMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/basis/basis_terrain/MapServer", {id: "basis_terrain", visible: false }); basis_terrain.setOpacity(1); map.addLayer(basis_terrain, true); if (internalDebug) { console.log("STATUS: added base svc 'basis_terrain' (trans: SVC_TRANS_DEFAULT) from host PROD (all svc)"); } var basis_ortho = new esri.layers.ArcGISTiledMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/basis/basis_ortho/MapServer", {id: "basis_ortho", visible: false }); basis_ortho.setOpacity(1); map.addLayer(basis_ortho, true); if (internalDebug) { console.log("STATUS: added base svc 'basis_ortho' (trans: SVC_TRANS_DEFAULT) from host PROD (all svc)"); } var uwe_div = new esri.layers.ArcGISDynamicMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/uwe/uwe_div/MapServer", {id: "uwe_div", visible: true }); uwe_div.setOpacity(.8); map.addLayer(uwe_div); if (internalDebug) { console.log("STATUS: added biz svc 'uwe_div' (trans: SVC_TRANS_DEFAULT)from host PROD (all svc)"); } var rawi_np = new esri.layers.ArcGISDynamicMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/rawi/rawi_np/MapServer", {id: "rawi_np", visible: true }); rawi_np.setOpacity(.7); map.addLayer(rawi_np); if (internalDebug) { console.log("STATUS: added biz svc 'rawi_np' (trans: SVC_TRANS_DEFAULT)from host PROD (all svc)"); } var int_query = new esri.layers.ArcGISDynamicMapServiceLayer("http://svc.geo.lu.ch/AGS/rest/services/basis/int_query/MapServer", {id: "int_query", visible: true }); int_query.setOpacity(1); map.addLayer(int_query); if (internalDebug) { console.log("STATUS: added biz svc 'int_query' (trans: SVC_TRANS_DEFAULT)from host PROD (all svc)"); } // connect measuring behaviour dojo.connect(geometrySvc, "onLengthsComplete", outputMeasureDistance); dojo.connect(geometrySvc, "onAreasAndLengthsComplete", outputAreaAndLength); // connect behaviours to map dojo.connect(map, 'onLoad', function(theMap){ // map resizing dojo.connect(dijit.byId('main'), 'resize', function(){ resizeMap(); }); // mouse coord display dojo.connect(map, "onMouseMove", showCoordinates); dojo.connect(map, "onMouseDrag", showCoordinates); // extent dependent behaviour dojo.connect(map, "onExtentChange", function(extent, delta, outLevelChange, outLod) { if(outLevelChange){ dojo.byId("scale").value = outLod.scale; pScaleSelector = dojo.byId('print_sel_PSC'); lastValue = pScaleSelector.options[pScaleSelector.options.length - 1].value; if (outLod.scale < lastValue) { dojo.byId("print_sel_PSC").value = outLod.scale; } else { dojo.byId("print_sel_PSC").value = lastValue; } if ((dojo.byId('printPreview')) && (dojo.byId('printPreview').style.display == "block")) { togglePrintPreview(); } dojo.byId("visualScale").src = "../../src/img/scale_" + outLod.scale + ".gif"; setOutOfRangeVis(outLod.scale); // in agsTOC // CUSTOM: show/hide info panel //if(outLod.level > 3) { if (dojo.byId("InfoPanel1")) { dojo.style("InfoPanel1", {display:"none"}); } } //else { if (dojo.byId("InfoPanel1")) { dojo.style("InfoPanel1", { display:"block"}); } } //if(outLod.level < 4) { if (dojo.byId("InfoPanel2")) { dojo.style("InfoPanel2", {display:"none"}); } } //else { if (dojo.byId("InfoPanel2")) { dojo.style("InfoPanel2", { display:"block"}); } } } }); // identify idConnect = dojo.connect(map, "onClick", doIdentify); mapLoaded(); }); // make legend and id panes moveable --> must stay here !! m1 = new dojo.dnd.Moveable("mapLegend"); m2 = new dojo.dnd.Moveable("idResults"); m3 = new dojo.dnd.Moveable("mapMeasure"); m4 = new dojo.dnd.Moveable("printPreview"); } // do stuff AFTER whole map has loaded... function mapLoaded() { var distGraphic, graphic, infoPanel1HTML, infoPanel1; // set document title document.title = 'Solarpotentialkataster - Geoportal Kanton Luzern'; // start up overview map (Dijit) overviewMapDijit = new dijits.overview.OverviewMap({ map: map, id: "overview-map", width: 238, height: 180, expandFactor: 1.5, color: "#FF0000", opacity: 0.55 }, dojo.byId("ovMap") ); overviewMapDijit.startup(); // CUSTOM: define TOC // syntax layers: service, shortname, name, sdename, node, metadata available?, identifyable? // syntax groups: id, name, node, expanded?, virtual? addLayer("uwe_div", "solarpot_katast", "Solarpotentialkataster", "NONE", "tocRoot", true, true); addGroup("NP", "KULDEN", "tocRoot", true, false); addLayer("rawi_np", "kdv_fl_solarpot", "KDV", "NONE", "NP", true, true); addLayer("rawi_np", "bilu_fl_solarpot", "BILU", "NONE", "NP", true, true); addLayer("rawi_np", "np_ueber_ortsbildschutz", "BILU", "NONE", "NP", true, true); // build TOC (agsTOC) initTOC(); // init measure tb = new esri.toolbars.Draw(map); //on draw end add graphic and get distance/area dojo.connect(tb, "onDrawEnd", function(geometry) { map.graphics.clear(); // switch behaviour for lengths / area mode if (dojo.byId("measureRadioBtn1").checked) { distGraphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleLineSymbol())); geometrySvc.lengths([distGraphic]); } else { graphic = map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleFillSymbol())); geometrySvc.simplify([graphic], function(graphics) { geometrySvc.areasAndLengths(graphics); }); } }); // FOCUS: set start extent by param or defaults (agsMap.js) setStartExtent(parseFloat(665842), parseFloat(211491), 2000); // BFS/PARCEL: highlight query results on startup (Params: agsMap.js, Func: agsQuery.js) setStartQueries(); // BASEMAP: set startup base map (agsMap.js) setBaseMap("basis_baspla"); // DEFAULT SEARCH (agsQuery.js) dojo.byId("searchList").value = "adr"; changeSearch("adr"); // DEFAULT OVMAP CLOSED (agsMap.js) //setTimeout(toggleOVMap(), 3000); // HIDE PRINT & TOC dojo.byId("toc_panel").style.display = "none"; dojo.byId("print_panel").style.display = "none"; // set specific on-map copyright and bottom smallprint //dojo.byId("copyright_byline").innerHTML = ' / Raumdatenpool'; //dojo.byId("smallprint_byline").innerHTML = ' / Raumdatenpool'; // CUSTOM: set on-map info panel infoPanel1HTML ='Hinweise:
- Alle gezeigten Daten beruhen auf Modellrechnungen.
- Klicken sie auf eine farbige Dachfläche um Detailinformationen anzuzeigen und ein PDF-Dossier für diese Teildachfläche zu erstellen.'; infoPanel1 = dojo.create("div", { id: "InfoPanel1" }, "info"); dojo.attr("InfoPanel1", { "class": "infoPanel", "innerHTML": infoPanel1HTML }); //dojo.style("InfoPanel1", { display:"none"}); // INIT REPORTING reporter = new geo.tasks.ReportService(reportOptions); //dojo.connect(dijit.byId('reportBtn'), 'onclick', startReporting); // in mapReporting.js.php, bleed out to whole DIV! dojo.connect(reporter, "onReportingComplete", this, "showReportingOutput"); dojo.connect(reporter, "onError", this, "onReportError"); // resize to prevent IE display glitch dijit.byId("container").resize(); } // It all starts here. dojo.addOnLoad(init);