- <div class="result" data-position="{{iResNum}}">
- {{#if aResult.icon}}
- <img src="{{env.Images_Base_Url}}{{aResult.icon}}" />
- {{!-- {{formatMapIcon aResult.icon}} --}}
- {{/if}}
+ <div class="result" data-position="{{iResNum}}">
+ {{#if aResult.icon}}
+ <img src="{{env.Images_Base_Url}}{{aResult.icon}}" />
+ {{!-- {{formatMapIcon aResult.icon}} --}}
+ {{/if}}
- <span class="name">{{aResult.display_name}}</span>
- <span class="type">{{formatLabel aResult}}</span>
- <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>
+ <span class="name">{{aResult.display_name}}</span>
+ <span class="type">{{formatLabel aResult}}</span>
+ <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>
- <div class="form-group">
- <input name="format" type="hidden" value="html">
- <input name="lat" type="text" class="form-control input-sm" placeholder="latitude" value="{{fLat}}">
- <span id="switch-coords"><></span>
- <input name="lon" type="text" class="form-control input-sm" placeholder="longitude" value="{{fLon}}">
- max zoom
- <select name="zoom" class="form-control input-sm" value="{{iZoom}}">
- {{zoomLevels iZoom}}
- </select>
- </div>
- <div class="form-group search-button-group">
- <button type="submit" class="btn btn-primary btn-sm">Search</button>
- </div>
- <div class="search-type-link">
- <a href="/search.html">forward search</a>
- </div>
+ <div class="form-group">
+ <input name="format" type="hidden" value="html">
+ <input name="lat" type="text" class="form-control input-sm" placeholder="latitude" value="{{fLat}}">
+ <span id="switch-coords"><></span>
+ <input name="lon" type="text" class="form-control input-sm" placeholder="longitude" value="{{fLon}}">
+ max zoom
+ <select name="zoom" class="form-control input-sm" value="{{iZoom}}">
+ {{zoomLevels iZoom}}
+ </select>
+ </div>
+ <div class="form-group search-button-group">
+ <button type="submit" class="btn btn-primary btn-sm">Search</button>
+ </div>
+ <div class="search-type-link">
+ <a href="/search.html">forward search</a>
+ </div>
- {{#if aPlace}}
- <div id="searchresults" class="sidebar">
- {{>partial_one_result iResNum=0 aResult=aPlace env=env}}
- </div>
- {{else}}
- <div id="intro" class="sidebar">
- Search for coordinates or click anywhere on the map.
- </div>
- {{/if}}
+ {{#if aPlace}}
+ <div id="searchresults" class="sidebar">
+ {{>partial_one_result iResNum=0 aResult=aPlace env=env}}
+ </div>
+ {{else}}
+ <div id="intro" class="sidebar">
+ Search for coordinates or click anywhere on the map.
+ </div>
+ {{/if}}
- <div id="map-wrapper">
- <div id="map-position">
- <div id="map-position-inner"></div>
- <div id="map-position-close"><a href="#">hide</a></div>
- </div>
- <div id="map"></div>
+ <div id="map-wrapper">
+ <div id="map-position">
+ <div id="map-position-inner"></div>
+ <div id="map-position-close"><a href="#">hide</a></div>