How to use the geojs.inherit function in geojs

To help you get started, we’ve selected a few geojs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kitware / minerva / web_external / contourJsonReader.js View on Github external
/* The geometry can be specified using 0-point coordinates and deltas
                         * since it is a regular grid. */
                        x0: data.x0, y0: data.y0, dx: data.dx, dy: data.dy
                    });
            }

            if (done) {
                done(contour);
            }
        }

        that._readObject(file, _done, progress);
    };
};

geo.inherit(geo.contourJsonReader, geo.fileReader);

geo.registerFileReader('contourJsonReader', geo.contourJsonReader);