Skip to content

Commit

Permalink
Update comments to reflect minor change in design.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Castle committed Oct 19, 2024
1 parent eebab7d commit ed8aa70
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions plugins/explore.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ window.plugin.explore.portalDetailsUpdated = function(details) {
}
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.tbd = function() {
window.plugin.explore.state.status = 'Command not implemented';
}
Expand All @@ -695,38 +695,38 @@ window.plugin.explore.toggle_exploring = function() {
}
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.save = function() {
window.plugin.explore.state.save();
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.clear = function() {
window.plugin.explore.state.clear();
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.refresh = function() {
window.plugin.explore.state.refreshLayers();
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.use_view = function() {
const state = window.plugin.explore.state;

state.data.boundary = window.map.getBounds();
state.status = 'Bounds set to current view';
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.extend_view = function() {
const state = window.plugin.explore.state;

state.data.extendBoundary(window.map.getBounds());
state.status = 'Bounds now includes current view';
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.use_drawtools = function() {
const state = window.plugin.explore.state;

Expand All @@ -739,7 +739,7 @@ window.plugin.explore.use_drawtools = function() {
}
}

/** Triggered from a command button. */
/** Triggered from a command. */
window.plugin.explore.use_bookmarks = function() {
const state = window.plugin.explore.state;

Expand Down

0 comments on commit ed8aa70

Please sign in to comment.