[OpenLayers-Users] Re: vector layer prevents map pan and drag

Puneet Kishor punk.kish at gmail.com
Wed Mar 14 09:29:40 EDT 2012


On Mar 14, 2012, at 3:12 AM, Andreas Hocevar <ahocevar at opengeo.org> wrote:

> I think the original poster's issue must be a different one, since he
> didn't seem to be happy with what he found in the link you had posted.



The link leads to a 404.

> 
> Marc, the issue you ran into is definitely there. And it could
> probably be solved by using
> https://github.com/openlayers/openlayers/pull/174 instead of a
> SelectFeature control.
> 


Will try that as well as John's suggestion.


> Andreas.
> 
> On Wed, Mar 14, 2012 at 8:18 AM, Marc <dkm+osgeo at kataplop.net> wrote:
>> Andreas Hocevar wrote:
>>> 
>>> Hi,
>>> 
>>> check your projection settings. If you still cannot figure things out,
>>> post at least the snippets where you create the map and add your
>>> layers.
>>> 
>>> It is definitely not an issue with handlers.
>> 
>> 
>> Hi !
>> 
>> I'm not sure I understand your answer... The problem (at least, mine)
>> is that when there is a vector feature somewhere above the map (with
>> select control enabled on the vector layer), it is not possible to use
>> its area to drag the map. The problem is even more problematic when the
>> whole map is covered with vector features...
>> 
>> You can see the problem here for example:
>> 
>>  http://airspace.kataplop.net/airspace/amap/
>> 
>> click on "update visible airspace", then you are left only with a
>> little area usable for dragging the map.
>> 
>> Maybe I did not understand your answer correctly ?
>> 
>> Thanks,
>> Marc
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 
> 
> 
> -- 
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list