0

i wanted to hide measurement widget . and wanted to display when radio button checked. but when i hide it, it becomes like this and does not show on radio button click

ここに画像の説明を入力

here is my code

var measurement = new esri.dijit.Measurement({
      map: map,
      //measurement.hideTool("location")
     // measurement.hideTool("distance")

    }, dojo.byId('measurementDiv'));

    measurement.startup();
    measurement.hide();
    measurement.hideTool("location");
    measurement.hideTool("distance");
    //measurement.hideTool("measurement Result");


<div class="roundedCorners" id="measureWindow" >
    <div class="innerDiv roundedCorners">
      <div id="measurementDiv"></div>
    </div>
  </div> 
4

2 に答える 2