Several examples is no longer working #100

pixelfreak opened this Issue Feb 9, 2012 · 3 comments


None yet

3 participants


The hurricane example along with some other examples don't work anymore :(

It actually seems to be working in Firefox. However, in Safari and Chrome it is not. I'm getting this error:

Uncaught Error: NOT_FOUND_ERR: DOM Exception 8

The first example in the Wiki (A Map requires a DOM element, layer...) is also failing for me for the same reason.

The problem seems to be starting on line 2639. When the child div is being appending the the parent.

// put the given layer on top of all the others
addLayer: function(layer) {
    this.parent.appendChild(layer.parent); = this; // TODO: remove map property from MM.Layer?
    return this;

Wrapping TemplatedMapProvider in the Layer method fixes this issue. This should probably be a separate ticket.

@tmcw tmcw added a commit that referenced this issue Feb 15, 2012
@tmcw tmcw Fix hurricanes example. Refs #100 044b192
tmcw commented Feb 15, 2012

Hey @pixelfreak - just fixed the hurricanes example. What other examples are you seeing break?

@tmcw Looks like they are all fixed now. I'll let you know if I see anything else. Thanks!

@pixelfreak pixelfreak closed this Feb 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment