<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
        Control div areas are draggable.  You could look at Control.js
      'allowSelection' property to see how it works.  Out of curiosity,
      I tried to do the same to the popup div, i.e. I did :<br>
      <br>
      popup.div.className += " olControlNoSelect";<br>
      popup.div.setAttribute("unselectable", "on", 0);<br>
      popup.div.onselectstart = OpenLayers.Function.False;<br>
      <br>
        but it didn't work.  There must be something I'm missing.<br>
      <br>
        For your map js engine, I think you're best to extend OpenLayers
      to make it do what you want.  Avoid modifying the source code
      itself as it becomes harder to upgrade to new versions in the
      future.<br>
      <br>
      HTH,<br>
      <br>
      Alexandre<br>
      <br>
      <br>
      On 13-07-25 10:34 PM, maven apache wrote:<br>
    </div>
    <blockquote
cite="mid:CA+FxMdW==OoZyh9zAMD0h7y+KNqRWyOVt9a-zjRxjdRvtPHqSw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi:
        <div><br>
        </div>
        <div>I created a <a moz-do-not-send="true"
href="http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Popup/FramedCloud-js.html"
style="color:rgb(84,84,84);text-decoration:none;margin-right:10px;font-family:Verdana,Arial,sans-serif;font-size:12px;background-color:rgb(232,232,232)">FramedCloud</a> using
          OpenLayers, and I meet some problems during the dragging.</div>
        <div><br>
        </div>
        <div>Check <a moz-do-not-send="true"
href="https://www.diigo.com/item/p/prpopsbzbqdobqcrozbassddqa/aa26410570325361fc2b7ea93aa0b646">this</a>,the
          `black` area is not draggable, It will cause some bad
          experience for the user.</div>
        <div><br>
        </div>
        <div>Is there any idea to fix it?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>BTW, we have our own map source data and related service,
          now we want to create a map library for the end user like the
          `google map` or `bing map`. But it is hard to create a library
          from the bottom level. So we wonder if we can take some
          advantage of  OpenLayers. If so, we have two choices:</div>
        <div><br>
        </div>
        <div>1) make the openlayer as the underlayer.</div>
        <div><br>
        </div>
        <div>We create every component under our namespace like
          `com.xx.Map,com.xx.TileLayer,com.xx.Event`, then use
          OpenLayers to do the implement work..</div>
        <div>For example:</div>
        <div><br>
        </div>
        <div>com.xx.Map=function(xx){</div>
        <div>  this.underlayer=new OpenLayers.Map({.....});</div>
        <div>}</div>
        <div><br>
        </div>
        <div>2) Extract the components we need from openLayers and
          modify them accordingly.</div>
        <div><br>
        </div>
        <div>Which is better?</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
  </body>
</html>