MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / resetMap

Function resetMap

static/js/statistics.js:365–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363}
364
365function resetMap () {
366 $.each(mapData.appearances, function (key, value) {
367 mapData.appearances[key].marker.setMap(null)
368 delete mapData.appearances[key]
369 })
370
371 heatmapPoints = []
372 if (heatmap) {
373 heatmap.setMap(null)
374 }
375}
376
377function showOverlay (id) {
378 // Only load google maps once, and only if requested

Callers 1

showOverlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected