forked from NCEAS/metacatui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support places search in viewfinder view
Replace lat,long-only search with search for reqular query strings. fixes NCEAS#2280 fixes NCEAS#2270 fixes NCEAS#1796
- Loading branch information
Showing
12 changed files
with
843 additions
and
405 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
<div class="<%= classNames.baseClass %>"> | ||
<h2>Viewfinder</h2> | ||
<span>Enter a latitude and longitude pair and click search to show that point on the map.</span> | ||
<br /><br /> | ||
<div class="viewfinder__form-field"> | ||
<div class="viewfinder__field"> | ||
<input class="<%= classNames.input %>" type="text" placeholder="<%= placeholder %>" value="<%= inputValue %>" /> | ||
<button class="<%= classNames.button %>"> | ||
<i class="icon icon-search"></i> | ||
</button> | ||
</div> | ||
<h2>Viewfinder</h2> | ||
<div class="viewfinder__form-field"> | ||
<div class="viewfinder__field"> | ||
<input class="<%= classNames.input %>" type="text" placeholder="<%= placeholder %>" value="<%= inputValue %>" /> | ||
<button class="<%= classNames.button %>"> | ||
<i class="icon icon-search"></i> | ||
</button> | ||
</div> | ||
|
||
<% if(errorMessage) { %> | ||
<div class="viewfinder__error"> | ||
<%= errorMessage %> | ||
</div> | ||
<% } %> | ||
<div class="<%= classNames.error %>"> | ||
<%= errorMessage %> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="<%= classNames.predictions %>" tabindex="0"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.