-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from sbrunner/git-attributes
Add, check and fix git attributes
- Loading branch information
Showing
12 changed files
with
206 additions
and
204 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,4 @@ | ||
* text whitespace=trailing-space,tab-in-indent,cr-at-eol,tabwidth=4 eol=lf | ||
.gitmodules text whitespace=indent-with-non-tab,tabwidth=2 | ||
Makefile text whitespace=indent-with-non-tab,tabwidth=2 | ||
*.rst tex conflict-marker-size=100 |
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
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
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
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 |
---|---|---|
|
@@ -46,4 +46,3 @@ Indices and tables | |
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
|
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 |
---|---|---|
@@ -1,50 +1,50 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> | ||
<style type="text/css"> | ||
html, body, #map { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
</style> | ||
<title>Google Maps - TileCloud</title> | ||
</head> | ||
<body> | ||
<div id="map" style="width: 100%; height: 100%;"> | ||
</div> | ||
<script type="text/javascript"> | ||
var mapTypes = [], mapTypeIds = []; | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> | ||
<style type="text/css"> | ||
html, body, #map { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
</style> | ||
<title>Google Maps - TileCloud</title> | ||
</head> | ||
<body> | ||
<div id="map" style="width: 100%; height: 100%;"> | ||
</div> | ||
<script type="text/javascript"> | ||
var mapTypes = [], mapTypeIds = []; | ||
%for index, (name, tilestore) in enumerate(tilestores): | ||
%if tilestore.content_type is None or tilestore.content_type.startswith('image/'): | ||
mapTypes.push(new google.maps.ImageMapType({ | ||
alt: '{{index}}', | ||
getTileUrl: function(coord, zoom) { | ||
return '/tiles/{{index}}/tiles/' + zoom + '/' + coord.x + '/' + coord.y; | ||
}, | ||
name: '{{index}}', | ||
tileSize: new google.maps.Size(256, 256), | ||
maxZoom: 32 | ||
})); | ||
mapTypeIds.push('{{index}}'); | ||
mapTypes.push(new google.maps.ImageMapType({ | ||
alt: '{{index}}', | ||
getTileUrl: function(coord, zoom) { | ||
return '/tiles/{{index}}/tiles/' + zoom + '/' + coord.x + '/' + coord.y; | ||
}, | ||
name: '{{index}}', | ||
tileSize: new google.maps.Size(256, 256), | ||
maxZoom: 32 | ||
})); | ||
mapTypeIds.push('{{index}}'); | ||
%end | ||
%end | ||
var map = new google.maps.Map(document.getElementById('map'), { | ||
center: new google.maps.LatLng(0, 0), | ||
mapTypeControlOptions: { | ||
mapTypeIds: mapTypeIds | ||
}, | ||
mapTypeId: mapTypeIds[0], | ||
zoom: 0 | ||
}); | ||
var map = new google.maps.Map(document.getElementById('map'), { | ||
center: new google.maps.LatLng(0, 0), | ||
mapTypeControlOptions: { | ||
mapTypeIds: mapTypeIds | ||
}, | ||
mapTypeId: mapTypeIds[0], | ||
zoom: 0 | ||
}); | ||
%for index, (name, tilestore) in enumerate(tilestores): | ||
%if tilestore.content_type is None or tilestore.content_type.startswith('image/'): | ||
map.mapTypes.set(mapTypeIds[{{index}}], mapTypes[{{index}}]); | ||
map.mapTypes.set(mapTypeIds[{{index}}], mapTypes[{{index}}]); | ||
%end | ||
%end | ||
</script> | ||
</body> | ||
</script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>TileCloud</title> | ||
</head> | ||
<body> | ||
<ul> | ||
<li><a href="/openlayers">OpenLayers</a></li> | ||
<li><a href="/googlemaps">Google Maps</a></li> | ||
<li><a href="/jquerygeo">jQuery Geo</a></li> | ||
<li><a href="/leaflet">Leaflet</a></li> | ||
<li><a href="/modestmaps">Modest Maps</a></li> | ||
<li><a href="/polymaps">Polymaps</a></li> | ||
<li><a href="/openwebglobe">OpenWebGlobe</a></li> | ||
</ul> | ||
</body> | ||
<head> | ||
<title>TileCloud</title> | ||
</head> | ||
<body> | ||
<ul> | ||
<li><a href="/openlayers">OpenLayers</a></li> | ||
<li><a href="/googlemaps">Google Maps</a></li> | ||
<li><a href="/jquerygeo">jQuery Geo</a></li> | ||
<li><a href="/leaflet">Leaflet</a></li> | ||
<li><a href="/modestmaps">Modest Maps</a></li> | ||
<li><a href="/polymaps">Polymaps</a></li> | ||
<li><a href="/openwebglobe">OpenWebGlobe</a></li> | ||
</ul> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -1,43 +1,43 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | ||
<script src="http://code.jquerygeo.com/jquery.geo-1.0a4.min.js"></script> | ||
<style type="text/css"> | ||
html, body, #map { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
</style> | ||
<title>jQueryGeo - TileCloud</title> | ||
</head> | ||
<body> | ||
<div id="map" style="width: 100%; height: 100%;"> | ||
</div> | ||
<script> | ||
$(function () { | ||
var services = []; | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | ||
<script src="http://code.jquerygeo.com/jquery.geo-1.0a4.min.js"></script> | ||
<style type="text/css"> | ||
html, body, #map { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
</style> | ||
<title>jQueryGeo - TileCloud</title> | ||
</head> | ||
<body> | ||
<div id="map" style="width: 100%; height: 100%;"> | ||
</div> | ||
<script> | ||
$(function () { | ||
var services = []; | ||
%for index, (name, tilestore) in enumerate(tilestores): | ||
%if tilestore.content_type is None or tilestore.content_type.startswith('image/'): | ||
services.push({ | ||
id: "{{name}}", | ||
services.push({ | ||
id: "{{name}}", | ||
%if getattr(tilestore, 'attribution', None): | ||
attr: '{{!tilestore.attribution}}', | ||
attr: '{{!tilestore.attribution}}', | ||
%end | ||
src: function( view ) { | ||
return "/tiles/{{index}}/tiles/" + view.zoom + "/" + view.tile.column + "/" + view.tile.row; | ||
}, | ||
type: "tiled" | ||
}); | ||
src: function( view ) { | ||
return "/tiles/{{index}}/tiles/" + view.zoom + "/" + view.tile.column + "/" + view.tile.row; | ||
}, | ||
type: "tiled" | ||
}); | ||
%end | ||
%end | ||
var map = $( "#map" ).geomap( { | ||
services: services | ||
} ); | ||
}); | ||
</script> | ||
</body> | ||
var map = $( "#map" ).geomap( { | ||
services: services | ||
} ); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<script type="text/javascript" src="https://raw.github.com/stamen/modestmaps-js/master/modestmaps.min.js"></script> | ||
<style type="text/css"> | ||
html, body, #map { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
</style> | ||
<title>Modest Maps - TileCloud</title> | ||
</head> | ||
<body> | ||
<div id="map" class="map" style="width: 100%; height: 100%;"> | ||
</div> | ||
<script type="text/javascript"> | ||
var layers = []; | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<script type="text/javascript" src="https://raw.github.com/stamen/modestmaps-js/master/modestmaps.min.js"></script> | ||
<style type="text/css"> | ||
html, body, #map { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
</style> | ||
<title>Modest Maps - TileCloud</title> | ||
</head> | ||
<body> | ||
<div id="map" class="map" style="width: 100%; height: 100%;"> | ||
</div> | ||
<script type="text/javascript"> | ||
var layers = []; | ||
%for index, (name, tilestore) in enumerate(tilestores): | ||
%if tilestore.content_type is None or tilestore.content_type.startswith('image/'): | ||
layers.push(new MM.Layer(new MM.TemplatedMapProvider('/tiles/{{index}}/tiles/{Z}/{X}/{Y}'))); | ||
layers.push(new MM.Layer(new MM.TemplatedMapProvider('/tiles/{{index}}/tiles/{Z}/{X}/{Y}'))); | ||
%end | ||
%end | ||
var map = new MM.Map('map', layers); | ||
</script> | ||
</body> | ||
var map = new MM.Map('map', layers); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.