I'm finding some success by adding the destroy() command like so.
function click_feature(feature) {
var selectedFeature = feature;
var url = '/feature/' + selectedFeature.data.slug;
index_map.destroy();
window.location.href = url;
return false;
}
But I ho
I gave this a try and it worked great in FF, but, again, crashed in IE6. What
happens is that it throws a "Failed" error as you jump from the first page
to the next. Again, working the first time, but screwing up the page if you
hit the back button and return or otherwise reload it.
I ran the rou
I just downloaded the trunk and took a look at SelectFeature.js. Clearly I
misunderstood how it's supposed to work. It looks like there is a strict
either/or enforced that doesn't anticipate my -- perhaps crazy -- desire to
allow for both hovering and clicking action.
Would it be possible to eit
I've tried to come up with something similar myself -- and run into IE6
problems. My attempted solution was to use SelectFeature with a variety of
select and click functions like so
function show_feature(feature) {
var selectedFeature = feature;
var feature_name = selectedFeature.
On 5/28/07, Darren Cope <[EMAIL PROTECTED]> wrote:
> Hi Christopher,
>
> Thanks for the link. That is the closest example I could find as
> well. However, my JavaScript knowledge is minimal, so I can't seem to
> figure it out. Is there an easier way to accomplish what I want, or
> will I have to
Hi Christopher,
Thanks for the link. That is the closest example I could find as
well. However, my JavaScript knowledge is minimal, so I can't seem to
figure it out. Is there an easier way to accomplish what I want, or
will I have to dig into learning JavaScript? I have seem some
OpenLayers de