mdeutch3 / geoxml3

Automatically exported from code.google.com/p/geoxml3
0 stars 0 forks source link

Wrong basic usage on project homepage? #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On the project homepage (http://code.google.com/p/geoxml3/) under Basic
Usage, you'll find the code

var myParser = new geoXML3.parser(map);

I spent an hour debugging my code, but it just didn't work. Then I tried

var myParser = new geoXML3.parser({map: map});

and everything worked. Is the simpler syntax supposed to work or is it a typo?

Regards,
Hans

PS! Tested with geoxml3.js from the trunk.

Original issue reported on code.google.com by hansfn@gmail.com on 13 Jan 2010 at 12:14

GoogleCodeExporter commented 9 years ago
I tumbled for it.
(Thanks Hans)

Original comment by wf9a5...@gmail.com on 17 Jan 2010 at 5:22

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by geocodezip on 22 Sep 2010 at 5:47