posted 4 years ago
I have identified where problem is but don't know what the exact reason is.
First, I created a new CSHTML page and tried.
The same result.Test disappeared and Map did not get displayed.
Next, instead of using the existing css (namely site.css) with entry I removed its reference and created a brand new CSS (namely Map.css) and gave it's reference.
It works fine this time and loaded the map.
Below is the Map.css
Below is the site.css (the last line has entry for #Map)