mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
removed destroy map code
This commit is contained in:
parent
61ff51aa8d
commit
f2f1119311
@ -200,9 +200,6 @@ require([
|
||||
initMap();
|
||||
|
||||
function initMap(){
|
||||
if(map){
|
||||
map.destroy();
|
||||
}
|
||||
|
||||
map = BootstrapMap.create("mapDiv",{
|
||||
basemap: "topo",
|
||||
@ -341,9 +338,6 @@ require([
|
||||
initMap();
|
||||
|
||||
function initMap(){
|
||||
if(map){
|
||||
map.destroy();
|
||||
}
|
||||
|
||||
map = BootstrapMap.create("mapDiv",{
|
||||
basemap: "topo",
|
||||
@ -614,9 +608,6 @@ require([
|
||||
initMap();
|
||||
|
||||
function initMap(){
|
||||
if(map){
|
||||
map.destroy();
|
||||
}
|
||||
|
||||
map = BootstrapMap.create("mapDiv",{
|
||||
basemap: "topo",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user