var map = new OpenLayers.Map("jacksonville-FL-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( -81.7709, 30.3349 ).transform(new OpenLayers.Projection("EPSG:4326"),map.getProjectionObject());map.setCenter (lonLat, zoom);$geo('10950 Baymeadows Rd, Jacksonville, FL 32256', 'f7776519', 'ab620b01');$geo('1 Independent Dr, Jacksonville, FL 32202', '5740f674', 'ab620b01');$geo('3650 Phillips Hwy, Jacksonville, FL 32207', '9eef527a', 'ab620b01');$geo('11025 Old Saint Augustine Rd, Jacksonville, FL 32257', 'e4facd12', 'ab620b01');$geo('13166 Atlantic Blvd, Jacksonville, FL 32225', '6ddcf49d', 'ab620b01');$geo('899 Dunn Ave, Jacksonville, FL 32218', '5edf7891', 'ab620b01');$geo('803 Lomax St, Jacksonville, FL 32204', '309e07ed', 'ab620b01');$geo('7107 Merrill Rd, Jacksonville, FL 32277', '0e7f807a', 'ab620b01');$geo('9580 Regency Square Blvd, Jacksonville, FL 32225', 'de40761e', 'ab620b01');$geo('4715 Town Center Pkwy, Jacksonville, FL 32246', '3279c743', 'ab620b01');$geo('1601 N Main St, Jacksonville, FL 32206', '8bb62807', 'ab620b01');$geo('13750 Old Saint Augustine Rd, Jacksonville, FL 32258', '4970598f', 'ab620b01');$geo('4776 Windsor Commons Ct, Jacksonville, FL 32224', '6d267c77', 'ab620b01');$geo('8715 Baymeadows Rd, Jacksonville, FL 32256', 'ba7060c6', 'ab620b01');$geo('9700 Old Baymeadows Rd, Jacksonville, FL 32256', 'dd600f1e', 'ab620b01');$geo('7991 Normandy Blvd, Jacksonville, FL 32221', '69d7fb74', 'ab620b01');$geo('60 Broad St N, Jacksonville, FL 32202', 'c81e9278', 'ab620b01');$geo('11415 Beach Blvd, Jacksonville, FL 32246', 'b66866d1', 'ab620b01');$geo('5622 Beach Blvd, Jacksonville, FL 32207', 'b4ef8000', 'ab620b01');$geo('9550 Argyle Forest Blvd, Jacksonville, FL 32222', '49a8b8a5', 'ab620b01');$geo('10740 Balmoral Dr, Jacksonville, FL 32218', 'e61448d0', 'ab620b01');$geo('4328 Blanding Blvd, Jacksonville, FL 32210', '849c5807', 'ab620b01');$geo('3627 University Blvd S, STE 100, Jacksonville, FL 32216', '94ecc8cb', 'ab620b01');$geo('4206 San Juan Ave, Jacksonville, FL 32210', 'f13c98d3', 'ab620b01');$geo('1562 Atlantic Blvd, Jacksonville, FL 32207', '8d433916', 'ab620b01');$geo('840 University Blvd N, Jacksonville, FL 32211', '036c388b', 'ab620b01');$geo('1336 Edgewood Ave W, Jacksonville, FL 32208', 'e3762f5f', 'ab620b01');$geo('1301 Riverplace Blvd, Jacksonville, FL 32207', 'baddce1a', 'ab620b01');$geo('12222 San Jose Blvd, Jacksonville, FL 32223', 'ab726e88', 'ab620b01');$geo('6530 St Augustine Rd, Jacksonville, FL 32217', 'c493f569', 'ab620b01');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';});}