[OpenLayers-Users] Hover control sample (share)

Alexandre Dube adube at mapgears.com
Thu Jan 15 17:10:08 EST 2009


Andreas Hocevar wrote:
> Hi Alexandre,
>
> On Thu, Jan 15, 2009 at 7:52 PM, Alexandre Dube <adube at mapgears.com> wrote:
>   
>> Yeah, I saw your example a couple of days ago.  It's a great tool.  As
>> vector features are longer to draw than samples images generated by WMS
>> requests I find this quite useful.
>>
>> The slow rendering of vector features has been one of my worries.  A
>> common practice is to normalize the geometry for a given scale or have
>> different data per scale on the server side.  With that in mind, I
>> wanted my vector layer to load features from different data source.  See
>> the example :
>>
>> http://dev4.mapgears.com/bdga/options-by-zoom-hover-bdga.html
>>
>> This combine the above idea ( multiple data sources ) with the Hover
>> control.  The result is quite fast.  What do you think ?
>>     
>
> This is a good idea! But it seems there is a lot of work to do on the
> server side to prepare all the different detail levels for a WFS. Are
> you using WPS for that?
>
> Andreas.
>
>   
Unfortunately no.  Everything is hardcoded.  Yeah, such a tool would be 
great.  Or, if it would be possible, given a specific database, to know 
every possibilities at once and if the number of possibilities doesn't 
go past 10, we could automatically create select boxes with the 
possibles results.  Else, we leave a blank textbox the user has to 
fill.  Plus, if only 1 possibility is available, no need to do 
anything.  Plus date format doesn't need to be entered either, etc 
etc... ( It's good to dream ).

Do you know if something like that is possible ?

Cheers,

Alexandre

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list