[OSM-dev] osmjs question

Jochen Topf jochen at remote.org
Wed Sep 19 08:48:33 BST 2012


On Tue, Sep 18, 2012 at 05:19:27PM -0600, Martijn van Exel wrote:
> if (Object.keys(this.tags).length > 0)
> 
> a valid way to check whether an osm object has any tags?

That should work. Somebody should add some convenience functions to osmjs,
that could make these things easier... :-)

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298



More information about the dev mailing list