1
{{include 'jquery.html'}}
4
{{include 'gis/ol_js_loaders.html'}}
6
<script type="text/javascript">//<![CDATA[
8
{{include 'gis/ol_start_vars.js'}}
10
{{include 'gis/ol_layers_all.js'}}
12
{{include 'gis/ol_vector_registerEvents.js'}}
14
{{include 'gis/ol_controls_features.js'}}
16
{{include 'gis/ol_functions.js'}}
18
map = new OpenLayers.Map('center', options);
22
{{include 'gis/ol_layers_feature.js'}}
24
{{include 'gis/ol_controls.js'}}
26
var mapPanel = new GeoExt.MapPanel({
33
tbar: new Ext.Toolbar()
36
{{include 'gis/toolbar.js'}}
38
var layerTreeBase = new GeoExt.tree.BaseLayerContainer({
39
text: "{{=T('Base Layers')}}",
40
layerStore: mapPanel.layers,
45
var layerTreeFeaturesExternal = new GeoExt.tree.OverlayLayerContainer({
46
text: "{{=T('External Features')}}",
47
layerStore: mapPanel.layers,
52
var layerTreeFeaturesInternal = new GeoExt.tree.OverlayLayerContainer({
53
text: "{{=T('Internal Features')}}",
54
layerStore: mapPanel.layers,
59
var layerTree = new Ext.tree.TreePanel({
61
title: "{{=T("Layers")}}",
62
root: new Ext.tree.AsyncTreeNode({
64
children: [layerTreeBase]
75
var win = new Ext.Window({
76
//title : 'Sahana Map Viewing Client',
86
title: "{{=T("Tools")}}",
97
// This is outside Ext.OnReady() so that it is called from a DIV imported via innerHTML
100
Ext.onReady(function() {
103
Ext.QuickTips.init();
109
{{include 'gis/ol_status.html'}}