[OpenLayers-Users] OpenLayers - how to do operations using jquery
on features
paweluz
paweluz at o2.pl
Sat Feb 19 19:54:06 EST 2011
Hi
I am writing an application using Jquery and Openlayers. I found very cool
plugin for showing fancy popup. Here is link to that:
http://theezpzway.com/demos/ezpz-tooltip
I am using vector layer that may have only one feature - point feature. Just
one point.
My goal would be to write functionality that when I hover over that point I
would get those fancy popup.
The problem is that those popup works great with DIVs but for vector
features we are dealng with SVG.
I know that SVG object is inside divs but those divs represents hole layer.
Here is screen from FireBug
http://piczasso.com/i/3w7ke.png
When I add hover listener on my feature I can get my feature. I can do
something like that to get its div:
object.div.id
Using that I get div id of feature - it is something like
OpenLayers.Control.SelectFeature_14
Unfortunately this div is no visible on map - I have checked that in
firebug. Here is screen:
http://piczasso.com/i/c8upb.png
This would be the one selected in blue.
My question is is any of openlayers user have some experience with using
also query? Has anyone have maybe solution for my problem: How to get
feature div or how to convert svg to div? Is that even possible...?
Regards,
Pawel
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/OpenLayers-how-to-do-operations-using-jquery-on-features-tp6044594p6044594.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list