[OpenLayers-Users] WFS layer prechargement with layer not visible possible?

Eric Lemoine eric.lemoine at camptocamp.com
Thu Aug 27 00:49:36 EDT 2009


On Wednesday, August 26, 2009, Jimmy Aumard <jimmy.aumard at gmail.com> wrote:
> Thanks Kris,
>
> My problem is :
>
> Users have possibility to search an address (geocoding google) and save this address(feature) on a vector layer (but maybe the layer is not charged). If layer was charged I have no problem but if layer was not charged the feature is not added on layer when layer was charged (feature erase).

Why don't you enable the geocoding function only once the layer is loaded?

PS: does the Google "Terms Of Service" allow you to use their geocoder
and display the results on something else that Google maps?

>
> Cheers
>
> Jim
>
> 2009/8/26 Kris Geusebroek <kgeusebroek at xebia.com>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi Jim,
>
>
>
> Not sure but you could try to make the layer visible but define a
> ‘invisible’ style. Then when you want to visualize the layer you set a ‘visible’
> style
>
>
>
> Just my 2 cents
>
>
>
> Kris
>
>
>
>
>
> From: users-bounces at openlayers.org
> [mailto:users-bounces at openlayers.org] On Behalf Of Jimmy Aumard
> Sent: Wednesday, August 26, 2009 12:17 PM
> To: users at openlayers.org
> Subject: [OpenLayers-Users] WFS layer prechargement with layer not
> visiblepossible?
>
>
>
>
>
> Hi list,
>
> I would like to know if it's possible to charge WFS layer at the beginning of
> the application but with the layer not visible.
>
> Sorry for my English.
>
> Cheers
>
> Jim
>
>
>
>
>
>
>
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list