Skip to content

Commit 04ce9a3

Browse files
committed
fix: enabled scale
1 parent 5b24687 commit 04ce9a3

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/GEOComp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ var GEOComp = (function () {
143143
timeline: false,
144144
gpsCentered: true,
145145
north: false,
146+
scale: true,
146147
largeButtons: true,
147148
scaleToBottom: false,
148149
"modify:select": true,

src/i18n/comps/locales/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export const en = {
5858
timeline: "Enable timeline",
5959
gpsCentered: "GPS location on startup",
6060
north: "Rotate map North",
61+
scale: "Show scale of map",
6162
largeButtons: "Use large buttons",
6263
scaleToBottom: "Resize map to bottom (AutoHeigth)",
6364
"modify:select": "Select feature (Modify)",

src/vendors/Geo.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function Geo(props) {
6363
return props.features[name] == true
6464
}
6565

66-
6766
//Fire and event to controling ReactComponent
6867
const fireEvent = function (name, eventObject) {
6968
if (props.onEvent) {

0 commit comments

Comments
 (0)