[OpenLayers-Users] Swipe
Arnd Wippermann
arnd.wippermann at web.de
Thu Jul 2 11:48:08 EDT 2009
Hi,
Perhaps the following example points in a useable direction:
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL27/examples/ExternalGraphicOver
lay/ExternalGraphicOverlay.asp
I use a pointFeature styled with ExternalGraphic as Image Layer. With the
style options one can change the image width, height and rotation. And the
image is dragable through the DragFeature Control.
Arnd
-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von florent.gravin at bluecham.net
Gesendet: Donnerstag, 2. Juli 2009 01:11
An: Alexander Petkov
Cc: users at openlayers.org
Betreff: Re: [OpenLayers-Users] Swipe
> On Wed, Jul 1, 2009 at 4:04 AM, floflo<florent.gravin at bluecham.net> wrote:
>>
>> Hi,
>>
>> is there a way to realise a swipe with 2 different images in
>> openlayers in order to compare them ? (like in Erdas)
>>
>> the process of the swap is : 2 layered images (vector or raster), one
>> no transparent on another, and you can change dynamicly the width of
>> the one of the first ground by mouving the edge of this one with the
>> mouse (or slider), letting appear the background one, in order to
>> compare the 2 layered images.
>>
>> thks for any help
>>
>> Flo
>
> Do you want the slider to change the transparency of the top image, or
> to restrict how much of it is visible ( in terms of coordinate bounds)
> at 100% opacity?
>
> Alex
>
Hi, the second option... still 100% opacity, the slider would modulate the
width (by the right edge)
thks
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list