Fabian Patzke (OL) wrote: > > bartvde wrote: >> Hi Fabian, >> >> thanks for pointing out the inconsistency, I've opened up a bug so we can >> tackle this in the future: >> >> http://trac.openlayers.org/ticket/2564 >> >> Best regards, >> Bart >> > No problem, so my "bug" report had a little good side effect. Just to > clarify the map constructor also accepts a DOMelement as the first parameter > its just written wrong ;) > As far as I checked the code in map.js, both variants uses the same code: > this.div = OpenLayers.Util.getElement(div); > So it just needs to be corrected in the DOC of the constructor settings. >
Yes, this is just a documentation issue, not an inconsistency in the code. I updated the docs and closed the ticket. Tim > Best wishes, > Fabian -- Tim Schaub OpenGeo - http://opengeo.org Expert service straight from the developers. _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev