here-api

Open here map url from mobile

試著忘記壹切 提交于 2019-12-25 17:03:39
问题 I'm developing hybrid application and want to access to HERE map url from any device (android / ios / windows phone / web) I tried to follow this answer : Create URL to here.com But It's not working in all cases. In my case, i tried this url : https://www.here.com/directions/drive/start:48.85,2.35/end:52.51,13.38 Android without Here map app installed : open m.here.com -> ok Android with Here map installed : open m.here.com but do not find app installed -> failed iOS without Here map app

Bing Map polyline using MVVM pattern XAML

蹲街弑〆低调 提交于 2019-12-25 16:47:22
问题 I am working on widows phone 8.1 map based application.I want to know how can I draw a map polyline using MVVM pattern. I've already achieved this using the code behind for first creating the polyline and then adding it. My question is can I define a polyline in the XAML itself and give it a source binding to one of my observable collections of type BasicGeopositions in my viewmodel. If yes then how? Data to be plotted using polyline: is a list of BasicGeoposition that contains latitudes and

Nokia HERE maps: How to get the MCZoom and MCPan components?

℡╲_俬逩灬. 提交于 2019-12-25 16:30:36
问题 I want the MCZoom and MCPan components shown in the HERE maps.(Ref picture) http://here.com/51.506430,-0.127190,13,0,0,normal.day/map=12.966980,77.587290,13,0,0,normal.day I have tried out all the components listed in the documentation, but none of them renders the MCZoom and MCPan. If its not something available for public to use, how do I create a component like this? 来源: https://stackoverflow.com/questions/19842226/nokia-here-maps-how-to-get-the-mczoom-and-mcpan-components

Getting altitude from latitude and longitude (HERE-API)

折月煮酒 提交于 2019-12-25 13:25:12
问题 Is there anyway with the HERE Javascript API to obtain an altitude given a specific latitude/longitude pair? The geo point returned by map.screenToGeo() only returns latitude and longitude as far as I can tell. 回答1: You can't do it with the HERE API, that I can see, but you can get that information from the Google Elevation API. By making a GET call and passing in the latitude and longitude in the query, you can get back the altitude from sea level in meters: https://maps.googleapis.com/maps

Nokia here maps api

本秂侑毒 提交于 2019-12-25 12:46:10
问题 I'm using nokia here maps. I've seen that the controls button on the map(toggle button to show/hide traffic,toggle button to show/hide public transport) desappear if the map is inside a small div container. Is there a way to avoid this behaviour, (for example by moving/resizing the control)? I've used the standard example code for a basic map with components: https://developer.here.com/javascript-apis/enterprise-api-explorer and put the map inside a div wich resizes itself according to the

HereMap PositioningListener Was Never Called

夙愿已清 提交于 2019-12-25 10:45:47
问题 I am pretty new on HereMap . I'd spent some time but I still cannot see what's wrong on this. I had the HereMap initialized with the following codes. MapFragment gmMapFragment = ... gmMapFragment.init(Common.main_activity, new OnEngineInitListener() { @Override public void onEngineInitializationCompleted(OnEngineInitListener.Error error) { if (error == OnEngineInitListener.Error.NONE) { gmMapFragment.getMapGesture().addOnGestureListener(gestureListener); gmMap = gmMapFragment.getMap(); // Set

HERE Maps: show street names on map

为君一笑 提交于 2019-12-25 09:28:30
问题 I got some feedback that it wasn't really possible to see street names on the map during navigation. Is there a way to make them more visible? It seems like if I play with the zoom level and tilt I can sometimes see them. EDIT: It looks as if the other solution attempts to get the street name of a particular road. I would like the map to display side streets along the route during navigation. EDIT: Screenshot: 回答1: This is actually by design in the map scheme. Try to change the scheme from

How Here counts requests when using their map control?

天涯浪子 提交于 2019-12-25 09:20:11
问题 In the documentation, it is mentioned this: "Map, satellite and traffic tiles, for which a transaction equals 15 requests", but what counts as a request when showing their map on an Android app? Each user section? Each time he pans/zooms/moves the map? I've created a sample code based on their routing example, but the Usage Stats on Developer dashboard doesn't show anything. 回答1: If you are using Starter SDK, then you will pay for requests. For Premium SDK pricing is different. To get details

Custom map overlay heremaps js api v3

天涯浪子 提交于 2019-12-25 08:49:49
问题 I am trying to switch a project from here maps 2.5.4 to 3.0.5. I have a map with a custom animated image overlay. In 2.5.4 it is realized via ImageProvider: var imageProvider = new nokia.maps.map.provider.ImageProvider({ opacity: 0.8, getBoundingBox: function() { return new nokia.maps.geo.BoundingBox( new nokia.maps.geo.Coordinate(55.599073, 3.550307), new nokia.maps.geo.Coordinate(47.27036232672, 15.434621365086) )}, getUrl: function() { return images[index]; // return the current image },

NewInstructionEventListener skipping some stop over maneuvers

 ̄綄美尐妖づ 提交于 2019-12-25 07:13:55
问题 I'm writing an application with the here sdk and I have routes with a lot of stop overs (> 100) and I need to make sure that the driver goes through all of them. For that I : get the list of stopovers from the MapRoute#getRoute()#getManeuvers() method after planning. listen to the NewInstructionEventListener#onNewInstructionEvent() to know when the driver has reached a stopover. Problem is that sometimes, I don't receive the event even if the driver has reached it. I was able to reproduce