-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
<!doctype html> | ||
<!-- The DOCTYPE declaration above will set the --> | ||
<!-- browser's rendering engine into --> | ||
<!-- "Standards Mode". Replacing this declaration --> | ||
<!-- with a "Quirks Mode" doctype may lead to some --> | ||
<!-- differences in layout. --> | ||
|
||
<html> | ||
<head> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
|
||
<script src="http://js.arcgis.com/3.8/" ></script> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | ||
<script src="https://apis.google.com/js/client.js?onload=ginit"></script> | ||
<script src="http://cstars.github.io/ceres-maps/cmv/js/bootstrap.min.js" ></script> | ||
<script src="http://cstars.github.io/ceres-maps/cmv/js/idangerous.swiper-1.9.min.js"></script> | ||
<script src="http://cstars.github.io/ceres-maps/cmv/js/jquery.esriPreview.js"></script> | ||
|
||
<script type="text/javascript" language="javascript" src="http://cstars.github.io/ceres-maps/cmv/cmv.nocache.js"></script> | ||
|
||
<script type="text/javascript" language="javascript"> | ||
var svr="http://atlas.resources.ca.gov/arcgis/rest/services"; | ||
var usgs="http://wildfire.cr.usgs.gov/ArcGIS/rest/services"; | ||
var atlas="http://atlas.resources.ca.gov/arcgis/rest/services"; | ||
var cm="http://arcserve.lawr.ucdavis.edu/arcgis/rest/services/CalMAPPER"; | ||
|
||
var mapConfig = { | ||
title: "Historical Delta", | ||
//anchor: "GadgetPanel", | ||
zoom: 9, | ||
center: [ | ||
-121.8, | ||
38.2 | ||
], | ||
selectedBasemap: "d94dcdbe78e141c2b2d3a91d5ca8b9c9", | ||
basemaps: [ | ||
|
||
], | ||
searchServices: [ | ||
{ | ||
url: "http://atlas.resources.ca.gov/ArcGIS/rest/services/Boundaries/Incorporated_Areas/MapServer/0", | ||
type: "query", | ||
parameter: "NAME", | ||
format: function(attr){ | ||
returnattr.NAME+" (City)"; | ||
} | ||
}, | ||
{ | ||
url: "http://atlas.resources.ca.gov/ArcGIS/rest/services/Boundaries/CaCountyBound/MapServer/0", | ||
type: "query", | ||
parameter: "FEAT_NAME" | ||
}, | ||
{ | ||
url: "http://tasks.arcgis.com/ArcGIS/rest/services/WorldLocator/GeocodeServer", | ||
type: "geocoder" | ||
} | ||
], | ||
searchColor: { | ||
outline: { | ||
r: 255, | ||
g: 169, | ||
b: 0, | ||
a: 1 | ||
}, | ||
fill: { | ||
r: 255, | ||
g: 169, | ||
b: 0, | ||
a: .025 | ||
} | ||
}, | ||
"datalayers": [ | ||
{ | ||
"type": "mapserver", | ||
"label": "Modern_DEM", | ||
"url": "http://atlas.cws.ucdavis.edu/arcgis/rest/services/HistoricalDelta/Modern_Delta/MapServer", | ||
"legendUrl": "http://atlas.cws.ucdavis.edu/arcgis/rest/services/HistoricalDelta/Modern_Delta/MapServer/legend?f=pjson", | ||
"showLegendOnLoad": false, | ||
"visible": false, | ||
"opacity": 0.6, | ||
"isTiled": false, | ||
"hasTileOption": false, | ||
"legendIsGradient": true | ||
}, | ||
|
||
{ | ||
"type": "mapserver", | ||
"label": "Historical_Delta_DEM", | ||
"url": "http://atlas.cws.ucdavis.edu/arcgis/rest/services/HistoricalDelta/HistoricalDelta_v6r3/MapServer", | ||
"legendUrl": "http://atlas.cws.ucdavis.edu/arcgis/rest/services/HistoricalDelta/HistoricalDelta_v6r3/MapServer/legend?f=pjson", | ||
"showLegendOnLoad": false, | ||
"visible": true, | ||
"opacity": 0.6, | ||
"isTiled": false, | ||
"hasTileOption": false, | ||
"legendIsGradient": true | ||
}, | ||
|
||
{ | ||
"type": "featurecollection", | ||
"label": "Search Features", | ||
"url": "", | ||
"legendUrl": "", | ||
"visible": true, | ||
"graphicsLayers": [ | ||
{ | ||
"graphics": [ | ||
|
||
] | ||
} | ||
] | ||
} | ||
], | ||
provider: { | ||
icon: "", | ||
popup: "Powered By: <a href='http://watershed.ucdavis.edu'>Center for Watershed Sciences</a>", | ||
url: "" | ||
}, | ||
geometryServer: atlas+"/Geometry/GeometryServer", | ||
identifyTool: true, | ||
enableCeresAdditions: true, | ||
print: { | ||
server: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task", | ||
defaultTitle: "CeresMaps - Export", | ||
defaultFormat: "PNG32", | ||
defaultTemplate: "template_test" | ||
} | ||
} | ||
|
||
</script> | ||
|
||
</head> | ||
<body class="claro" style="overflow:hidden"> | ||
|
||
<!-- OPTIONAL: include this if you want history support --> | ||
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe> | ||
|
||
<!-- RECOMMENDED if your web app will not function without JavaScript enabled --> | ||
<noscript> | ||
<div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"> | ||
Your web browser must have JavaScript enabled | ||
in order for this application to display correctly. | ||
</div> | ||
</noscript> | ||
|
||
|
||
</body> | ||
</html> |