mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
included map description
This commit is contained in:
parent
f7eb1a7e80
commit
79cb1df073
@ -56,6 +56,7 @@
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<h3>Map:<span id="mapTitle">[none]</span></h3>
|
||||
<p id="mapDescription">[none]</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -53,8 +53,9 @@ require(["esri/map",
|
||||
// Bind to map
|
||||
BootstrapMap.bindTo(map);
|
||||
|
||||
// Add title
|
||||
// Add title and description
|
||||
dom.byId("mapTitle").innerHTML = response.itemInfo.item.title;
|
||||
dom.byId("mapDescription").innerHTML = response.itemInfo.item.snippet;
|
||||
|
||||
if(map.loaded)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user