mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-15 22:36:58 +00:00
Use "map" as HTML element id everywhere (#7696)
This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user