MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / createMarker

Function createMarker

assets/js/deviceInfo.js:21–23  ·  view source on GitHub ↗
({ map, position })

Source from the content-addressed store, hash-verified

19 * @return {Object}
20 */
21const createMarker = ({ map, position }) => {
22 return new google.maps.Marker({ map, position });
23};
24
25/**
26 * Track the user location.

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected