Search results
Showing 244 results for: style editor
/learn/blog/october-2024-platform-release-notes
Developer blog
October 2024 Platform Release Notes
… individual warning options for each warner. Map view: Added … Style.update(Style) … and … HereMap.getStyle() … that supports the customization of predefined map styles. All … MapScheme … styles are supported. The new style definition …
/learn/blog/december-2023-platform-release-notes
Developer blog
December 2023 Platform Release Notes
… … and … controlledAccessHighway … to … StreetAttributes … enum. Map style update: Added a new coach icon and improved the existing tram … county capital label priority. Map style update: Improved toll tunnel styling in Japan for the day, night and logistics map schemes. … or lines. The service supports the full variety of map schemes and styles, and detailed map of Japan, just like the HERE Raster API. The …
/learn/blog/may-2024-platform-release-notes
Developer blog
May 2024 Platform Release Notes
… for vector rendered maps. Among others these include: … Logistics Map Style … with 3 variants for vector rendering. The 3 variants are for the … map view, a night and a hybrid experience. … Topographic Map Style … including global coverage for … Hill-Shading … and … Elevation …
/learn/blog/here-workspace-marketplace-2.3-release
Developer blog
HERE Workspace & Marketplace 2.3 release
… to their Group. Develop visualization plugins using online Javascript editor The Data Inspector on the Inspect tab now features a rich online JavaScript editor, simplifying the development and testing of custom renderer … your Org to visualize data encoded by your custom schema. With this editor, you can write, fine-tune and then run your plugin code. The …
/learn/blog/ev-national-parks
Developer blog
Driving EV to US National Parks with HERE Routing API
… { var nodeOL = document.createElement('ol'); nodeOL.style.fontSize = 'small'; nodeOL.style.marginLeft ='5%'; nodeOL.style.marginRight ='5%'; nodeOL.className … HERE Tile Map API, which provides map images in a large choice of styles. In this case, we are using raster.terrain.map, for more …
/learn/blog/integrating-turn-by-turn-navigation-with-here-routing-v8-and-the-here-maps-api-for
Developer blog
Integrating Turn-by-Turn Navigation with HERE Routing v8 and the HERE Maps API for JavaScript
APIs 11 min read 22 January 2025, Integrating Turn-by-Turn Navigation with HERE Routing v8 and the HERE Maps API for JavaScript, Introduction, , Integrating turn-by-turn navigation into your web application can significantly enhance the user…, Note:, You need a valid HERE API key to run this example. You should be registered on HERE Platform with a…, HTML and Script Includes, , Copied html, body { height: 100%; margin: 0; padding: 0; } #map { height: 100%; width:…, Explanation:, , HERE Maps API for JS:, We include multiple HERE Maps API for JavaScript files (core, service, UI, events, harp) which…, CSS and Layout:, We ensure the map occupies the full screen. We also define a #carIcon element that will be the…, Responsive Viewport:, The meta tag ensures the map scales well on mobile devices. , Initializing the Map and Platform, , Copied var platform = new H.service.Platform({ 'apikey': 'yourAPIKey' }); const engineType = H.Map…, Explanation:, , Platform Initialization:, The H.service.Platform object is created using your HERE API key. This grants access to various…, engineType 'HARP':, We specify the HARP engine for vector rendering for high-quality 3D map rendering. , Map Creation:, We create a H.Map instance, attaching it to the #map div. We set an initial zoom and center…, Enabling Map Interactions and UI Controls, , Copied var mapEvents = new H.mapevents.MapEvents(map); var behavior = new H.mapevents.Behavior(…, Explanation:, , MapEvents & Behavior:, H.mapevents.MapEvents enables handling of map events like pan, zoom, and tilt. H.mapevents.Behavior…, UI Controls:, H.ui.UI.createDefault adds default UI elements such as zoom buttons and scalebars to the map…, Defining Routing Parameters and Calling the Routing Service, , Copied var routingParameters = { 'routingMode': 'fast', 'transportMode': 'car', 'origin': '52.54181…, Explanation:, , Routing Parameters:, We set the routing mode (fast), transport mode (car), origin/destination coordinates, and the…, Routing Service:, platform.getRoutingService(null, 8) accesses the HERE Routing v8 API. , Polyline Management:, routePoints will store the route coordinates, routeStrip is a H.geo.LineString that will eventually…, Car Icon Reference:, We store the #carIcon DOM element to move it along the route later. , Handling the Routing Response, , Copied function onResult(result) { if (result.routes.length) { routePoints = []; result.routes[0].…, Explanation:, , Processing the Route:, The routing response contains sections, each with a polyline. We convert the polyline to a list of…, Storing Route Points:, We push these coordinates into routePoints. , Fit Map Bounds:, We adjust the map viewport to show the entire route. , Draw Route Gradually:, Instead of showing the entire route at once, we call drawRouteGradually() to animate the polyline…, Gradually Drawing the Route, , Copied function drawRouteGradually() { let currentIndex = 0; function drawNextSegment() { if (…, Explanation:, , Incremental Drawing:, We iterate through each point in routePoints. For each point: Add it to the routeStrip. Remove…, Timing:, setTimeout(drawNextSegment, 100) sets a short delay between adding points, creating a smooth "…, Animating the Car Icon, , Copied function moveCar(point, currentIndex) { carIcon.style.display = 'block'; const screenCoords…, Explanation:, , Positioning the Car:, We convert the geo-coordinates of the current route point to screen coordinates using map.…, Centering the Icon:, We offset by half the icon’s width and height to position it correctly. , Adjusting Bearing:, We calculate the direction the car should face. By comparing the current point to the next point,…, Bearing Calculation, , Copied function getBearing(start, end) { const startLat = start.lat * Math.PI / 180; const startLng…, Explanation:, , Calculate Bearing:, Using the haversine formula and trigonometry, we determine the direction (bearing) in degrees from…, Handling Errors and Final Setup, , Copied router.calculateRoute(routingParameters, onResult, function(error) { alert(error.message…, Explanation:, , Routing Call:, We call router.calculateRoute() with our parameters and handle success via onResult() or failure…, Interactions:, We add an event listener on pointermove to ensure map interactions stay enabled. , Full working snippet:, , Copied html, body { height: 100%; margin: 0; padding: 0; } #map { height: 100%; width:…, Conclusion, , With these steps: , Map Initialization:, We set up the HERE Maps API for JavaScript with vector tiles and UI controls. , Route Calculation:, We used HERE Routing v8 to get a car route between two points. , Smooth Animation:, By incrementally adding segments to a polyline, we create a dynamic effect of "drawing" the route…, Car Icon Movement and Orientation:, We placed an icon on the route and updated its position and bearing at each step, simulating turn-…, Sachin Jonda, Principal Support Engineer
/learn/blog/create-a-web-map-application-in-under-6-minutes
Developer blog
Create a Web Map Application in Under 6 Minutes
… in a minute or less. Get your API key Load the SDK Library and Style Sheet Create a div for the Map Create a Platform Instance … and 4 minutes of your life back! … Step 2: Load the SDK Library and Style Sheet … Add the following to the tag of your application, to the …
/platform/map-rendering
Products
HERE Map Rendering
… reflect the real world … Harness advanced customization … Import, style, display and customize map appearance towards your specific … vector tiles with HERE data. Use customizable and interactive map styles to support your business needs. View documentation: Vector Tile … applications using maps and satellite tiles with a variety of map styles and display options (base, satellite, hybrid, day/night, …
/learn/blog/november-2023-platform-release-notes
Developer blog
November 2023 Platform Release Notes
… latest HERE platform data. Here's what's new: 1. Added a … new map style … called … logistics.day … . The special "Logistics" map style is designed to improve map visualization in logistics-related … per axle number. 3. Added … lite.night … and … light.satellite.day … styles … . The new styles are a variants of explore style optimized for …
/learn/blog/here-partners-with-inrix-to-move-mobility-forward
Here360 blog
HERE partners with INRIX to move mobility forward
… we gather from passenger and commercial vehicles, a community of map editors and our own fleet of LiDAR-equipped mapping cars , as well as …