Skip to content

Commit

Permalink
Update query string param example to include name search
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn2404 committed Jun 20, 2023
1 parent 8d1ca9f commit 2b00f0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/query-string-example/submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ <h1 class="bh-sl-title">Using Chipotle as an Example</h1>
<div class="bh-sl-form-container">
<form id="bh-sl-user-location" method="post" action="#">
<div class="form-input">
<label for="bh-sl-search">Location name search:</label>
<input type="text" id="bh-sl-search" name="bh-sl-search" />

<label for="bh-sl-address">Enter Address or Zip Code:</label>
<input type="text" id="bh-sl-address" name="bh-sl-address" />
</div>
Expand All @@ -43,6 +46,7 @@ <h1 class="bh-sl-title">Using Chipotle as an Example</h1>
$('#bh-sl-map-container').storeLocator({
querystringParams : true,
fullMapStart: true,
nameSearch: true,
// The following paths are set because this example is in a subdirectory
dataLocation: '../data/locations.json',
infowindowTemplatePath: '../assets/js/plugins/storeLocator/templates/infowindow-description.html',
Expand Down

0 comments on commit 2b00f0f

Please sign in to comment.