Project

General

Profile

« Previous | Next » 

Revision 3137

Added by perry over 17 years ago

ESA server does some funky things to relative URLS so we have to hardcode the esa skin urls to use a specific root and context

View differences:

map.html
3 3
<head>
4 4
<title>Metacat Spatial Option Demo</title>
5 5

  
6
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/docsStyle.css'>
7
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/mapStyle.css'>
8
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/button.css'>
9
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
6
<link rel='StyleSheet' type='text/css' href='/esa/spatial/mapbuilder/lib/skin/default/docsStyle.css'>
7
<link rel='StyleSheet' type='text/css' href='/esa/spatial/mapbuilder/lib/skin/default/mapStyle.css'>
8
<link rel='StyleSheet' type='text/css' href='/esa/spatial/mapbuilder/lib/skin/default/button.css'>
9
<link rel='StyleSheet' type='text/css' href='/esa/spatial/mapbuilder/lib/skin/default/scalebar-fat.css'>
10 10

  
11 11
<script type="text/javascript">
12 12
  var mbConfigUrl="config.xml";
13 13
</script>
14 14

  
15
<script type="text/javascript" src="../../../../spatial/mapbuilder/lib/Mapbuilder.js"></script>
15
<script type="text/javascript" src="/esa/spatial/mapbuilder/lib/Mapbuilder.js"></script>
16 16
</head>
17 17
<body onload="mbDoLoad()">
18 18

  
......
22 22
              <div id="mainMapPane" style="background-color:#b8d5f5;" />
23 23
              <div id="loading">
24 24
               <p> Loading Map
25
                <img src="../../../../spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
25
                <img src="/esa/spatial/mapbuilder/lib/skin/default/images/Loading.gif"/>
26 26
               </p>
27 27
             </div>
28 28
            </td>
......
44 44
                                          <!-- <tr><td colspan="2" align="right" id="scalebar"/> </tr> -->
45 45
                                          <tr> 
46 46
                                           <td colspan="2" align="right" style="font-size:8pt;"> 
47
                                             <a style="text-decoration:none;" href="../../../../spatial/kml.jsp">
47
                                             <a style="text-decoration:none;" href="/esa/spatial/kml.jsp">
48 48
                                               <br/> 
49 49
                                               Download Google Earth KML
50
                                               <img border="0" src="../../../../style/images/kml.gif">
50
                                               <img border="0" src="/esa/style/images/kml.gif">
51 51
                                             </a>
52 52
                                           </td>
53 53
                                          </tr> 

Also available in: Unified diff