keenedge


I've loaded a GeoRSS layer into VE. The layer is all polygons... no point features. I have called

s.HideIcon();

for each shape in the GeoRSS layer.

So, no push pins are availabel. Only the polygons are visible.

I would like to show the related Info Text box when the user hovers the mose over any position within the polygon.

Is this possible




Re: Can VESHape(Polygon) show the info text when I hover the mouse over the polygon (no push pin)

Derek Chan


Thats going to be quite tricky, and here are a couple of things that I you might need to consider:

1) Attaching events so that whenever the user hover overs the polygon, you can find out which polygon they hovered over.
2) Controlling the bubble so it appears on top of the onmouseover
3) Removing the bubble on onmouseout

2) and 3) will require an unsupported API hack as I there still isn't really any way to control the bubble except when its over the visible icon.

Hope that starts things off,





Re: Can VESHape(Polygon) show the info text when I hover the mouse over the polygon (no push pin)

Brian Norman

Hi

I thought about somthing to do this before ver 5 came out, now it should be even easier. Just make a large (same kind of dimensions) transparent pushpin icon. Its a hack and wont be beatiful but might server your needs.

Brian Norman

www.earthware.co.uk






Re: Can VESHape(Polygon) show the info text when I hover the mouse over the polygon (no push pin)

wloescher

How are you using GeoRSS to display polygons I need this sort of functionality to display school district boundaries, and am having trouble finding an effective solution...and I thought that GeoRSS worked only for points.



Re: Can VESHape(Polygon) show the info text when I hover the mouse over the polygon (no push pin)

Brian Norman

Ver 5 now supports polygons from GEoRss (Georss always has supported them as far as I know).

Brian
www.earthware.co.uk





Re: Can VESHape(Polygon) show the info text when I hover the mouse over the polygon (no push pin)

wloescher

Thanks Brian...got that working...now just need to figure out how to bulk convert shape files (US Census 2000 Tiger data) to GeoRSS XML files. Any thoughts



Re: Can VESHape(Polygon) show the info text when I hover the mouse over the polygon (no push pin)

Derek Chan

Brian Norman wrote:

Hi

I thought about somthing to do this before ver 5 came out, now it should be even easier. Just make a large (same kind of dimensions) transparent pushpin icon. Its a hack and wont be beatiful but might server your needs.

Brian Norman

www.earthware.co.uk



I'd definately recommend this method if your wililng to map out the exact transparent pushpin icons for all of your school boundaries as this workaround would apply across the board to any future version of VE