<div>I would have thought that draggable markers would be a better place to start than the overview. This is very similar identical to a draggable marker except it doesn&#39;t pan/follow the map.</div><div><br><div class="gmail_quote">
On Wed, Jul 21, 2010 at 9:01 PM, Sveen Atle Frenvik (Geomatikk IKT) <span dir="ltr">&lt;<a href="mailto:Atle.Frenvik.Sveen@geomatikk.no">Atle.Frenvik.Sveen@geomatikk.no</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  
  

<div text="#000000" bgcolor="#ffffff"><div class="im">
On 07/21/2010 01:15 PM, Andrew Hughes wrote:
<blockquote type="cite">Hi All,
  <div><br>
  </div>
  <div>I have a unique requirement that I need help with. Perhaps this
is something new...</div>
  <div><br>
  </div>
</blockquote></div>
Well, the fact that you need this does not mean that anyone here is
entiteled to make it for you..<div class="im"><br>
<br>
<blockquote type="cite">
  <div>The best way to describe it is to look at this:  <a href="http://www.youtube.com/watch?v=sXotq-W5HmA&amp;feature=channel" target="_blank">http://www.youtube.com/watch?v=sXotq-W5HmA&amp;feature=channel</a>  but
the gunsight is not always in the center, you can drag it around in the
map viewport.</div>
  <div><br>
  </div>
  <div>So,</div>
  <div>+ I need a Gunsight control (which uses Map.getLonLatFromPixel()
to work out the geographical focus of where the gun is pointing).</div>
  <div>+ The Gunsight does not move when the map is panned/moved (it&#39;s
tied to pixel position - not geographical)</div>
  <div>+ The Gunsight needs to be draggable within the map view port
&lt;div&gt; (can&#39;t drag outside the viewport) a non-draggable/fixed
pixel position solution (i.e. center of map viewport) would be an
unacceptable.</div>
  <div><br>
  </div>
</blockquote>
<br></div>
I think a good starting point could be looking at the OverviewMap
control, which uses a div placed on top of the map, and then make a
control yourself based on somewhat the same concept.<br>
<br>
Good luck!<br>
<blockquote type="cite">
  <div><br>
  </div>
  <div>Thanks &amp;&amp; Cheers :)</div><div class="im">
  <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a>
  </pre>
</div></blockquote><font color="#888888">
<br>
<br>
<pre cols="72">-- 
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
<a href="mailto:atle.frenvik.sveen@geomatikk.no" target="_blank">atle.frenvik.sveen@geomatikk.no</a></pre>
</font></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>