|
8 | 8 | <link rel="stylesheet" type="text/css" href="demo.css" /> |
9 | 9 | <link rel="stylesheet" type="text/css" href="styles.css" /> |
10 | 10 | <link rel="stylesheet" type="text/css" href="../template.css" /> |
11 | | - <script type="text/javascript" src='../test-credentials.js'></script> |
| 11 | + <script type="text/javascript" src='../test-credentials.js'></script> |
12 | 12 | <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-core.js"></script> |
13 | 13 | <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-service.js"></script> |
14 | 14 | <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-ui.js"></script> |
|
19 | 19 | <h1>Search for a Location given a Structured Address</h1> |
20 | 20 | <p>Request a location from a structured address and display it on the map.</p> |
21 | 21 | </div> |
22 | | - <p>This example makes a geocode request and retrieves the latitude, longitude and complete address details of |
23 | | - <b>425 Randolph St, Chicago, IL</b> based on partial address information. Two addresses are found - |
| 22 | + <p>This example makes a geocode request and retrieves the latitude, longitude and complete address details of |
| 23 | + <b>425 Randolph St, Chicago, IL</b> based on partial address information. Two addresses are found - |
24 | 24 | <i>425 E Randolph St.</i>, and <i>425 W Randolph St.</i> A clickable marker is placed on each location found.</p> |
25 | 25 | <div id="map"></div> |
26 | 26 | <div id="panel"></div> |
27 | 27 | <h3>Code</h3> |
28 | 28 | <p>Access to the geocoding service is obtained from the <code>H.service.Platform</code> |
29 | | - by calling <code>getSearchService()</code>. The <code>geocode()</code> method is used |
30 | | - to find a location by passing in the relevant values to the <code>qq</code> parameter (i.e. <code>country</code>, <code>city</code>, |
31 | | - <code>street</code> and <code>housenumber</code>) as defined in |
32 | | - <a href="https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-geocode-brief.html" target="_blank">Geocoding and Search API v7 |
33 | | - </a>. |
| 29 | + by calling <code>getSearchService()</code>. The <code>geocode()</code> method is used |
| 30 | + to find a location by passing in the relevant values to the <code>qq</code> parameter (i.e. <code>country</code>, <code>city</code>, |
| 31 | + <code>street</code> and <code>housenumber</code>) as defined in |
| 32 | + <a href="https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html#/paths/~1geocode/get" target="_blank">Geocoding and Search API v7 |
| 33 | + </a>. |
34 | 34 | The styling and display of the response is under the control of the developer.</p> |
35 | 35 | <script type="text/javascript" src='demo.js'></script> |
36 | 36 | </body> |
|
0 commit comments