JSFiddle - React, Tailwind, and code Playground
by a_miguel6687
HTML
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<div id="map" class="panel-body gmap-container">
CSS
#map{
height:500px;
width: 500px;
}
JavaScript
var locations = [
['Russ Martin</br>MT,VT, NH, ME (all firms)',46.537711,-111.932769,1],
['Carey Fischer</br>NY- Upstate ex Rockland County (BD, FP)',40.714353,-74.005973,2],
['Brandon Born</br>CT, NY - Upstate, MA - ex metro Boston (FI), MA - Central, West (all firms)',41.5178234,-72.757507,3],
['Joe Tocyloski</br>PA - East, NJ - South (FP)',40.9945928,-77.6046984,4],
['Phil Hemery</br>NJ (FI), NJ - Bergen County (all firms), NY - NYC (FI,RIA)/Westchester (FI,BD)/Rockland County (all firms)',40.1430241,-74.7311156,5],
['Bob Mancini</br>MA - East (all firms)',42.0629399,-71.718067,6],
['Damien Ramondo</br>NJ, PA East',40.1430241,-74.7311156,7],
['Kevin Gang</br>W VA,PA - West (all firms), OH - Cleveland (BD, FI)',38.0033854,-79.7715309,8],
['Andrew Fischer</br>MI - (all firms)',44.9700413,-86.4158049,9],
['David Saslowsky</br>NYC',40.7056308,-73.9780035,10],
['Robert Brazofsky</br>NYC',40.7056308,-73.9780035,11],
['Joseph Proscia</br>NJ - North ex Bergen County, NY - NYC (FP)',40.1430241,-74.7311156,12],
['William Marsalise</br>NY - LI and Outer Boroughs (FI), LI Planners',40.7056308,-73.9780035,13],
['Dan Stack</br>OH - Columbus and South (all firms), KY - Covington (all firms)',40.7056308,-73.9780035,14],
['James Broderick</br>OH - North of Columbus ex Cleveland (all firms), Cleveland (FP)',40.1903624,-82.6692524,15]
];
var us = new google.maps.LatLng(46.879682,-110.362566);
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 4,
center: us,
mapTypeControl: false,
streetViewControl: false,
panControl: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
var infowindow = new google.maps.InfoWindow(),marker, i,markers = new Array();
for (var i = 0; i < locations.length; i++) {
var lat = locations[i][1], lang = locations[i][2],floating_point =...