var map = new OpenLayers.Map("atlanta-GA-wells-fargo-bank");map.addLayer(new OpenLayers.Layer.OSM("OpenStreetMap", ['//a.tile.openstreetmap.org/${z}/${x}/${y}.png','//b.tile.openstreetmap.org/${z}/${x}/${y}.png','//c.tile.openstreetmap.org/${z}/${x}/${y}.png'], null)); var zoom=9;var lonLat = new OpenLayers.LonLat( -84.3953, 33.8559 ).transform(new OpenLayers.Projection("EPSG:4326"),map.getProjectionObject());map.setCenter (lonLat, zoom);$geo('725 Houston Mill Rd Ne, Atlanta, GA 30329', '7adf9938', '17aeec52');$geo('1034 Hammond Dr Ne, Atlanta, GA 30328', 'd2ca9a39', '17aeec52');$geo('3235 Peachtree Rd Ne, Atlanta, GA 30305', '52692e62', '17aeec52');$geo('6300 Roswell Rd NE, Atlanta, GA 30328', 'cb78ddbc', '17aeec52');$geo('2725 Clairmont Rd Ne, Atlanta, GA 30329', 'd90a3948', '17aeec52');$geo('979 Virginia Ave Ne, Atlanta, GA 30306', 'f6b90d18', '17aeec52');$geo('4454 Roswell Rd NE, Atlanta, GA 30342', '3ae47893', '17aeec52');$geo('3890 Peachtree Rd Ne, Atlanta, GA 30319', '32d0677a', '17aeec52');$geo('3820 Camp Creek Pkwy SW, Atlanta, GA 30331', '4e54fd61', '17aeec52');$geo('3393 Northside Pkwy NW, Atlanta, GA 30327', '843f62b5', '17aeec52');$geo('1270 Caroline St NE, Atlanta, GA 30307', '26db4b78', '17aeec52');$geo('240 Peachtree St Nw, Atlanta, GA 30303', '337eaea1', '17aeec52');$geo('999 Peachtree St NE, STE 100, Atlanta, GA 30309', '0fc1dffd', '17aeec52');$geo('2349 Cheshire Bridge Rd Ne, Atlanta, GA 30324', 'f82baafc', '17aeec52');$geo('4570 Ashford Dunwoody Rd Ne, Atlanta, GA 30346', '2f9c056c', '17aeec52');$geo('612 Lee St Sw, Atlanta, GA 30310', '3ccd1aa1', '17aeec52');$geo('171 17th St NW, Atlanta, GA 30363', '5e2a2306', '17aeec52');$geo('2283 Glenwood Ave Se, Atlanta, GA 30316', '74f79f98', '17aeec52');$geo('125 Glenridge Point Pkwy NE, Atlanta, GA 30342', 'a42ae3b6', '17aeec52');$geo('5555 New Northside Dr, Atlanta, GA 30339', 'a7947ae2', '17aeec52');$geo('1201 W Peachtree St, Atlanta, GA 30309', '4f4e6825', '17aeec52');$geo('2 Peachtree St NW, Atlanta, GA 30303', '1d716883', '17aeec52');$geo('2942 N Druid Hills Rd NE, Atlanta, GA 30329', 'af9787e1', '17aeec52');$geo('369 Sandy Springs Cir, Atlanta, GA 30328', 'dbe9875e', '17aeec52');$geo('1 Cnn Ctr NW, STE 219, Atlanta, GA 30303', '74be48b1', '17aeec52');$geo('754 Peachtree St NE, STE M101, Atlanta, GA 30308', '7977b1c9', '17aeec52');$geo('2204 Peachtree Rd NW, Atlanta, GA 30309', '50770330', '17aeec52');function $setCenter($lon, $lat){map.setCenter(new OpenLayers.LonLat($lon,$lat).transform(new OpenLayers.Projection('EPSG:4326'), map.getProjectionObject() ), 18);}function $geo($location, $hash, $hash2){var $geocode = 'https://nominatim.openstreetmap.org/search?q='+$location+'&format=json'; $.getJSON($geocode, function(data) {var lonLat = new OpenLayers.LonLat( data[0]['lon'] , data[0]['lat'] ).transform(new OpenLayers.Projection("EPSG:4326"),map.getProjectionObject());var markers = new OpenLayers.Layer.Markers( "Markers" );map.addLayer(markers);markers.addMarker(new OpenLayers.Marker(lonLat));map.setCenter (lonLat, 12);document.getElementById($hash).innerHTML += ' | View Map';});}