Skip to content

Instantly share code, notes, and snippets.

View BysahaOleh's full-sized avatar
:octocat:

Bysaha Oleh BysahaOleh

:octocat:
  • Moneyworld
  • Poland
View GitHub Profile
const generateMarkers = (count = 100) => {
const southWest = [40.744656, -74.005966];
const northEast = [34.052234, -118.243685];
const lngSpan = northEast[1] - southWest[1];
const latSpan = northEast[0] - southWest[0];
const markers = [];
for (var i = 1; i < count; i++) {
markers.push({