[OpenLayers-Users] IE 6 chokes on "var featureId =
node._featureId; " in getFeatureIdFromEvent(). What's up with that?
Christopher Schmidt
crschmidt at metacarta.com
Mon Feb 9 14:44:37 EST 2009
On Mon, Feb 09, 2009 at 11:20:03AM -0800, palewire wrote:
>
> Here's my problem. I've wired up a basic map. Google layer. Plus a feature
> layer with a polygon loaded in via WKT. I have an editing tool bar so that
> the user can, right away, grab the polygon and start moving it around.
>
> It works perfectly in Firefox, Safari and Opera. But Internet Explorer is
> throwing a "Failed" error as soon as the user grabs one of the vertices and
> tries to drag it.
>
> My JavaScript is validating perfectly in JSLint. I've run it through the
> debugging suite in Microsoft Visual Web Developer, where it's catching on
> the following line:
>
> "var featureId = node._featureId;"
>
> What could possibly be causing that? Is there some pitfall I'm overlooking?
>
> Lifelines appreciated, per usual.
Does 'node' exist? If it doesn't, then this would be expected behavior.
Is this code inside of OpenLayers, or inside your own application code?
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list