Use "map" as HTML element id everywhere (#7696)

This commit is contained in:
William Entriken
2021-10-29 09:34:17 -04:00
committed by GitHub
parent b4801788ff
commit 671c7c8bcb
6 changed files with 12 additions and 12 deletions

View File

@ -19,7 +19,7 @@
if(mapDiv) mapDiv.parentNode.removeChild(mapDiv); // This will destroy the map div
// create new map div
var randomDivId = 'mapId' + new Date().getTime();
var randomDivId = 'map' + new Date().getTime();
mapDiv = document.createElement('div');
mapDiv.id = randomDivId;
mapDiv.style.height = '200px';