Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var search = new H.places.Search(platform.getPlacesService());
function onResult(data) {
// Do something with data …
function onError(data) {
// Handle an error
// Search for hotels in Chinatown, San Francisco
var params = {
'q': 'hotel',
'at': '37.7942,-122.4070'
search.request(params, {}, onResult, onError);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.