You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: places_insights/places-insights-demo/help.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -94,13 +94,13 @@ function generateGuideHtml() {
94
94
95
95
<h3>C. Region Search</h3>
96
96
<p>
97
-
This powerful mode allows you to search by administrative names like cities, states, or postal codes instead of drawing on the map.
97
+
This powerful mode allows you to search by administrative regions like cities, states, or postal codes using Place Autocomplete.
98
98
</p>
99
99
<ol>
100
100
<li>Select <strong>Region Search</strong> from the "Demo Type" dropdown.</li>
101
-
<li>Choose a <strong>Region Type</strong> from the dropdown. This list is dynamically populated based on the selected ${locationTypeLower}.</li>
102
-
<li>Enter a name in the <strong>Region Name(s)</strong> input box (e.g., "London").</li>
103
-
<li><strong>(Optional) Add Multiple Regions:</strong> To search across several regions at once, click the <code>+</code> button after typing each name.</li>
101
+
<li>Start typing a region name in the <strong>Region</strong> input box (e.g., "Manhattan").</li>
102
+
<li>Select the correct region from the dropdown suggestions. This guarantees accurate results by using the exact Place ID.</li>
103
+
<li><strong>(Optional) Add Multiple Regions:</strong> To search across several regions at once, continue searching and adding more places to the list.</li>
104
104
</ol>
105
105
106
106
<h3>D. Route Search</h3>
@@ -134,7 +134,7 @@ function generateGuideHtml() {
134
134
<li><strong>Business Status:</strong> Filter places by their operational status (Operational, Closed Temporarily, Closed Permanently, or Any). Default is <strong>Operational</strong>.</li>
135
135
<li><strong>Attribute Filters:</strong> Filter by Price Level, set min/max ratings, or select checkboxes for amenities (e.g., "Offers Delivery").</li>
136
136
<li><strong>Opening Hours:</strong> Select a <strong>Day of Week</strong> and time window (Not available in H3 Function mode).</li>
137
-
<li><strong>Brand Filters (US Only):</strong> Filter by Brand Category or Brand Name (Not available in H3 Function mode).</li>
137
+
<li><strong>Brand Filters (US Only):</strong> Filter by Brand Name (Not available in H3 Function mode).</li>
return`${searchAreaVar} SELECT WITH AGGREGATION_THRESHOLD places.${regionType} AS region_name, COUNT(*) AS count ${fromClause}${whereClause} GROUP BY region_name ORDER BY count DESC`;
return`${searchAreaVar} SELECT WITH AGGREGATION_THRESHOLD brands.name, COUNT(places.id) AS count ${fromClause}${whereClause} GROUP BY brands.name ORDER BY count DESC`;
0 commit comments