On Mon, Dec 19, 2011 at 12:02 PM, Harikumar Reddy <[email protected]>wrote:

> Hi GS Users,
>
> I am trying to display bus stop icons on the road, where bus will stop for
> a minute for passenger. There are hundreds of bus stops, ATM in a small
> area. So i am thinking to display only graphic icon (like in attached
> screenshot from Google maps), and when user move the mouse over the icon,
> it would populate name and if mouse moves away, the name will disappear.
> This is the functionality i am looking for in SLD.
>
> It is there in open layers, but i would like to know if anyone of us used
> in SLD as parameter.
>

The WMS only generates static images, png/gif files, there is no
possibility to embed popups in them.
If you need popus the way to go is, I believe, to load the data via WFS
into OpenLayers and setup
the popup there.

If the data is too much you'll probably have to use some zoom based
strategy, where you download
the data in OL only if you are zoomed in enough to get relatively few
points in the current view (that is, less
than 1000 or something like that).

There is also a GeoServer extension to create HTML image maps, which can
then be used to drive popups,
however I don't know if it works with points as well

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

Please take note that GeoSolutions will be closed for Christmas holidays
from 27/12 to 30/12

-------------------------------------------------------
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to