aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-08-21 16:09:33 -0400
committerbobzel <zzzman@gmail.com>2023-08-21 16:09:33 -0400
commit04c05a0e0c1c84575ea064303a083bb011ddd270 (patch)
treedd06ea2fdc310c2e517e0c6c81494a2db9c3eae8 /src/client/views/nodes/MapBox/MapBox.tsx
parent9505f9d488fb7850a6cb95cab5695b474a271fae (diff)
fixed input placement in map search
Diffstat (limited to 'src/client/views/nodes/MapBox/MapBox.tsx')
-rw-r--r--src/client/views/nodes/MapBox/MapBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx
index f7f046e9a..91333845a 100644
--- a/src/client/views/nodes/MapBox/MapBox.tsx
+++ b/src/client/views/nodes/MapBox/MapBox.tsx
@@ -471,7 +471,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
*
**/
@observable
- bingSearchBarContents: any = 'Boston, MA'; // For Bing Maps: The contents of the Bing search bar (string)
+ bingSearchBarContents: any = 'enter city/zip/...'; // For Bing Maps: The contents of the Bing search bar (string)
geoDataRequestOptions = {
entityType: 'PopulatedPlace',
@@ -804,7 +804,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
// editing
setVal={(newText: string | number) => typeof newText === 'string' && this.searchbarOnEdit(newText)}
onEnter={e => this.bingSearch()}
- placeholder="Boston"
+ placeholder={this.bingSearchBarContents}
textAlign="center"
/>
</div>