Government: public data online
The map of Macon builds on data from the City of Macon, Bibb County, the Macon Police Department, the Macon Water Authority, the Middle Georgia Regional Commission, and Macon-Bibb Planning and Zoning Commission. In addition to contributing data, governments can also get data back.
OpenStreetMap users have mapped historic sites, such as Congressional Cemetery in Washington, DC.
The USGS and National Park Service use OpenStreetMap data to build up their national maps.
map = new google.maps.Map(document.getElementById("map"), { mapTypeControlOptions:{ mapTypeIds:[google.maps.MapTypeId.ROADMAP, google.maps.MapTypeId.SATELLITE, 'MapQuest'] } });
osmLayer = new google.maps.ImageMapType({
getTileUrl: function(coord, zoom){
return "http://otile1.mqcdn.com/tiles/1.0.0/osm/" + zoom + "/" + coord.x + "/" + coord.y + ".jpg"; return "http://tiles1.skobbler.net/osm_tiles2/" + zoom + "/" + coord.x + "/" + coord.y + ".png"; return "http://a.tile.openstreetmap.org/" + zoom + "/" + coord.x + "/" + coord.y + ".png";
},
tileSize: new google.maps.Size(256, 256),
isPng: false,
alt: "OpenStreetMap",
name: "OpenStreetMap",
maxZoom: 19
});
map.mapTypes.set('OpenStreetMap', osmLayer);
osmLayer = new esri.layers.OpenStreetMapLayer({
tileServers: [ "http://otile1.mqcdn.com/tiles/1.0.0/osm/" ] tileServers: [ "http://tiles1.skobbler.net/osm_tiles2/" ] tileServers: [ "http://a.tile.openstreetmap.org/" ]
});
map.addLayer(osmLayer);
<esri:Map logoVisible="false" wrapAround180="true">
<esri:OpenStreetMapLayer>
<esri:tileServers>
<fx:String>http://otile1.mqcdn.com/tiles/1.0.0/osm/</fx:String> <fx:String>http://tiles1.skobbler.net/osm_tiles2/</fx:String> <fx:String>http://a.tile.openstreetmap.org/</fx:String>
</esri:tileServers>
</esri:OpenStreetMapLayer>
</esri:Map>
L.tileLayer( 'http://otile1.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpghttp://tiles1.skobbler.net/osm_tiles2/{z}/{x}/{y}.pnghttp://a.tile.openstreetmap.org/{z}/{x}/{y}.png' ).addTo(map);
osmLayer = new OpenLayers.Layer.OSM( "MapQuest", ["http://otile1.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.jpg"] );osmLayer = new OpenLayers.Layer.OSM( "Skobbler", ["http://tiles1.skobbler.net/osm_tiles2/${z}/${x}/${y}.png"] );osmLayer = new OpenLayers.Layer.OSM( "OpenStreetMap", ["http://a.tile.openstreetmap.org/${z}/${x}/${y}.png"] );
map.addLayer( osmLayer );
m.addLayer(new MM.TemplatedLayer('http://otile1.mqcdn.com/tiles/1.0.0/osm/{Z}/{X}/{Y}.jpg'));m.addLayer(new MM.TemplatedLayer('http://tiles1.skobbler.net/osm_tiles2/{Z}/{X}/{Y}.png'));m.addLayer(new MM.TemplatedLayer('http://a.tile.openstreetmap.org/{Z}/{X}/{Y}.png'));
m.ui.attribution.add()
.content('Tiles by MapQuest, Data © OpenStreetMap contributors.'); .content('Tiles by Skobbler, Data © OpenStreetMap contributors.'); .content('Tiles and Data © OpenStreetMap contributors.');