Loading app/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ "lint": "eslint --ext .js src", "fix": "npm run lint -- --fix", "prettier-watch": "onchange '**/*.js' -- prettier --write {{changed}}", "generate-docs": "node_modules/.bin/jsdoc src/js/ -d docs -t node_modules/braintree-jsdoc-template/" "generate-docs": "node_modules/.bin/jsdoc src/js/ --configure .jsdoc.json --verbose" }, "devDependencies": { "@babel/core": "^7.8.3", Loading app/src/js/AstroMap.js +2 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,8 @@ import "leaflet-fullscreen"; * @aka L.Map.AstroMap * @extends L.Map * * @classdesc The central class that creates an interactive map in the HTML. * @classdesc * The central class that creates an interactive map in the HTML. * Works with all target bodies supported by the USGS by loading the body's * base layers and overlays in a LayerCollection. Allows users to change * the projection of the map. Loading app/src/js/AstroMath.js 100755 → 100644 +0 −0 File mode changed from 100755 to 100644. View file app/src/js/Draw.js +3 −3 Original line number Diff line number Diff line Loading @@ -7,9 +7,9 @@ import { func } from "prop-types"; * @class AstroDraw * @aka L.Control.AstroDraw * @extends L.Control * @classdesc Class that extends from the class L.Control.Draw and handles the back-end * when a user draws on the leaflet map. Since this class inherits L.Control, it is * added to the AstroMap in the same way as other controls, like the zoom control. * @classdesc * Class that extends from the class L.Control.Draw and handles the back-end when a user draws on the leaflet map. * Since this class inherits L.Control, it is added to the AstroMap in the same way as other controls, like the zoom control. * * @example * Loading app/src/js/LayerCollection.js +31 −29 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ import $ from "jquery"; * for quick and easy use in the AstroMap class. */ export default L.LayerCollection = L.Class.extend({ /** * @function LayerCollection.prototype.initialize * @description Constructor that creates the layers. Loading Loading @@ -122,6 +123,7 @@ export default L.LayerCollection = L.Class.extend({ // Only add feature names to cylindrical if (this._projName == "cylindrical") { this._wfsLayer = new L.GeoJSON(null, { /** * @function LayerCollection.prototype.onEachFeature * @description Select each feature. Loading Loading
app/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ "lint": "eslint --ext .js src", "fix": "npm run lint -- --fix", "prettier-watch": "onchange '**/*.js' -- prettier --write {{changed}}", "generate-docs": "node_modules/.bin/jsdoc src/js/ -d docs -t node_modules/braintree-jsdoc-template/" "generate-docs": "node_modules/.bin/jsdoc src/js/ --configure .jsdoc.json --verbose" }, "devDependencies": { "@babel/core": "^7.8.3", Loading
app/src/js/AstroMap.js +2 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,8 @@ import "leaflet-fullscreen"; * @aka L.Map.AstroMap * @extends L.Map * * @classdesc The central class that creates an interactive map in the HTML. * @classdesc * The central class that creates an interactive map in the HTML. * Works with all target bodies supported by the USGS by loading the body's * base layers and overlays in a LayerCollection. Allows users to change * the projection of the map. Loading
app/src/js/Draw.js +3 −3 Original line number Diff line number Diff line Loading @@ -7,9 +7,9 @@ import { func } from "prop-types"; * @class AstroDraw * @aka L.Control.AstroDraw * @extends L.Control * @classdesc Class that extends from the class L.Control.Draw and handles the back-end * when a user draws on the leaflet map. Since this class inherits L.Control, it is * added to the AstroMap in the same way as other controls, like the zoom control. * @classdesc * Class that extends from the class L.Control.Draw and handles the back-end when a user draws on the leaflet map. * Since this class inherits L.Control, it is added to the AstroMap in the same way as other controls, like the zoom control. * * @example * Loading
app/src/js/LayerCollection.js +31 −29 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ import $ from "jquery"; * for quick and easy use in the AstroMap class. */ export default L.LayerCollection = L.Class.extend({ /** * @function LayerCollection.prototype.initialize * @description Constructor that creates the layers. Loading Loading @@ -122,6 +123,7 @@ export default L.LayerCollection = L.Class.extend({ // Only add feature names to cylindrical if (this._projName == "cylindrical") { this._wfsLayer = new L.GeoJSON(null, { /** * @function LayerCollection.prototype.onEachFeature * @description Select each feature. Loading