Project

General

Profile

« Previous | Next » 

Revision 5934

remove sanparks boundaries from the default map, but allow them to be added as an additional layer from the saeon/sanparks skin.
use css to style the spatial query search widget control
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2188

View differences:

map.jsp
37 37
<!-- *********************** START Map ************************* -->
38 38
<html>
39 39
  <head>
40
    <style type="text/css">
41
        body { background-color:white; }
42
        #map {
43
            width: 760px;
44
            height: 380px;
45
            border: 1px solid #cccccc;
46
        }
47
        .olControlNavToolbar .spatialQueryItemActive { 
48
        	background-image: url("<%=STYLE_COMMON_URL%>/spatial/metacat-query-on.png");
49
		  	background-repeat: no-repeat;
50
		}
51
		.olControlNavToolbar .spatialQueryItemInactive { 
52
        	background-image: url("<%=STYLE_COMMON_URL%>/spatial/metacat-query-off.png");
53
		  	background-repeat: no-repeat;
54
		}
55
		
56

  
57
    </style>
40
	<link rel="stylesheet" type="text/css" href="<%=STYLE_COMMON_URL%>/spatial/map.css" />
58 41
    <script src="http://www.openlayers.org/api/OpenLayers.js"></script>
59 42
    <script src="<%=STYLE_COMMON_URL%>/spatial/map.js"></script>
60 43
    <script type="text/javascript">

Also available in: Unified diff