Search code examples
javascripthere-api

Here maps autocomplete js api


Here maps added autocomplete function to its geocoder api

http://autocomplete.geocoder.cit.api.here.com/6.2/suggest.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&query=Pariser+1+Berl
&beginHighlight=<b>
&endHighlight=</b>

It is complete new and not well documented right now. I do not know how to call it with js api. Do anybody use it with the js api or know how to use it with js api?

Most js api acts as wrapper class for geocorder, so i want to prefer using existing wrapper before building my own.


Solution

  • There is now a project to wrap the HERE Maps JS API, you can find it on NPM here:

    https://www.npmjs.com/package/node-heremaps

    If you're looking to display maps in the browser, I've started working on a project for a React integration here:

    https://www.npmjs.com/package/react-here-maps

    And you can of course just include the HERE Maps script directly.