Questions tagged heremaps

Explore the latest questions and answers asked by our top developers.

Here maps: onclick add Curved line between two points using Here maps?

Here Added code for on click draw polyline between 2 points. Need to help how we can add curve/arc line between two geo location. // add map var defaultLayers = this.platform.createDefaultLayers(); var map = new H.Map(document.getElementById(‘map’), defaultLayers.vector.normal.map,{ center: {lat:21, lng:72}, zoom: 7, pixelRatio: window.devicePixelRatio || 1 }); var lineString = new H.geo.LineString(); const mapevents = […]

By anup gupta
Published
Categorized as angular, heremaps, javascript, typescript Tagged , , ,

Trying to Implement here-map in ionic 6 but it gives `403` error and I couldn’t able found any solution

I have been trying to implement here-map in Ionic 6 and angular version 13.0.0 and I got a 403 error so please help me to solve it. index.html https://js.api.here.com/v3/3.1/mapsjs-core.js https://js.api.here.com/v3/3.1/mapsjs-service.js https://js.api.here.com/v3/3.1/mapsjs-mapevents.js https://js.api.here.com/v3/3.1/mapsjs-ui.js Home.page.ts import { Component, ElementRef, ViewChild } from ‘@angular/core’; declare var H: any; @Component({ selector: ‘app-home’, templateUrl: ‘home.page.html’, styleUrls: [‘home.page.scss’], }) export class […]

HERE: Return Observable While Waiting statechange To Finish Then Subscribe To It

I am encountering a hard time to solve these 2 issues and still working on it. Hopefully someone can help me. Thanks in advance! 1.) I have a map.service with this function. readKML(file): any { const exportUrl = URL.createObjectURL(file); const reader = new HERE_MAP.data.kml.Reader(exportUrl); // Parse the document reader.parse(); reader.addEventListener(‘statechange’, (evt) => { if (evt.state […]

By rj learn
Published
Categorized as angular, heremaps, javascript, typescript Tagged , , ,

Here Maps Parsing from Data Hub in angular

I am new to the here maps platform, and for my current project I was wondering about this following piece of code: const buildingsSpaceProvider = new H.service.xyz.Provider(service, "XXXXXXXX", { ‘min’: 14 }); const buildingsSpaceLayer = new H.map.layer.TileLayer(buildingsSpaceProvider); Is it possible to retrieve the data from the service.xyz and parse & serialize it into a JSON? […]

By pHaNToM
Published
Categorized as angular, heremaps Tagged ,

Here Maps angular implementation

I am currently working on a project utilizing Here Maps and my current task is, to highlight certain buildings based off of some criteria. I have managed to instantiate the map, and use their Data Hub layer to highlight all of the homes in the US. My question is, is it possible to filter individually […]

By pHaNToM
Published
Categorized as angular, heremaps Tagged ,

detect boundary lat longs from given list of lat and long in angular

Am using here map. I have a list of objects which has all the latitude and longitude of a particular region from a map as below //Texas points let list = [ { lat: 36.5098, lng: -103.0559 }, { lat: 32.0456, lng: -103.0559 }, { lat: 32.0456, lng: -106.6103 }, { lat: 30.827, lng: -105.385 […]

By AkRoy
Published
Categorized as angular, heremaps, javascript Tagged , ,

Here Maps API OAuth ‘Signature mismatch’ in Angular App

I want to use Here Maps API in my Angular application but I’m having problems getting the access token. I’m trying to authenticate via OAuth 1.0a as shown in the documentation @Injectable() export class HereAuthService { private readonly TOKEN_ENDPOINT_URL: string; private readonly oauth: OAuth; constructor(private readonly http: HttpClient) { const { accessKeyId, accessKeySecret, tokenEndpointUrl } […]

By Yiyi Chen
Published
Categorized as angular, here-api, here-maps-rest, heremaps, oauth Tagged , , , ,

message: "Invalid app_id app_code combination"

Here maps currently use api key in place of app_id and app_code. I correctly assigned my api a key as below: this.platform = new H.service.Platform({ ‘apikey’: ‘XXXXXXXX’, useHTTPS: true }); I generated the key from my dashboard, however, I still face message: "Invalid app_id app_code combination" when I’m not using those values at all. Source: […]

By Marvelous Ikechi
Published
Categorized as angular, heremaps Tagged ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq