mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
* Add isNumber * Update babel, remove lodash deps * develop first commit * Fix zIndex * Add readme * Fix tests * Fix build issues * Update travis build
18 lines
566 B
JavaScript
18 lines
566 B
JavaScript
|
|
const TOTAL_COUNT = 20;
|
|
|
|
export const susolvkaCoords = { lat: 60.814305, lng: 47.051773 };
|
|
|
|
export const markersData = [...Array(TOTAL_COUNT)].fill(0) // fill(0) for loose mode
|
|
.map((__, index) => ({
|
|
id: index,
|
|
lat: susolvkaCoords.lat +
|
|
0.01 * index *
|
|
Math.sin(30 * Math.PI * index / 180) *
|
|
Math.cos(50 * Math.PI * index / 180) + Math.sin(5 * index / 180),
|
|
lng: susolvkaCoords.lng +
|
|
0.01 * index *
|
|
Math.cos(70 + 23 * Math.PI * index / 180) *
|
|
Math.cos(50 * Math.PI * index / 180) + Math.sin(5 * index / 180),
|
|
}));
|