here-api

Nokia Here v3: How to put text in standard marker?

[亡魂溺海] 提交于 2019-12-05 21:36:32
It was very easy to put text in StandardMarker in previous Nokia HERE API (v2). In new API (v3) I can't find solution how to put text in marker. Here's a code snippet: var coords = { lat: 56 lng: 54 }; marker = new H.map.Marker(coords); map.addObject(marker); It looks like the standard icon doesn't support text. But you could try the approach used in the dev guide ( https://developer.here.com/javascript-apis/documentation/v3/maps/topics/markers.html ) by creating an icon from SVG. I also recently faced this problem. I reverse-engineered the HEREMaps JS API core module and made a marker with

Here JavaScript API 3.0 - How to implement a draggable marker

橙三吉。 提交于 2019-12-05 16:44:21
I would like to implement a draggable marker with the recently released JavaScript API 3.0. Using the old API it was quite easy. After setting the draggable attribute to true you were able to move the marker on the map around. The migration guide for the new API 3.0 located [here][1] states that after enabling events on map objects and setting the 'draggable' property to 'true' the corresponding events have to be implemented. marker.addEventListener('dragstart', function() { //handle drag start here }); marker.addEventListener('drag', function() { //handle drag here }); marker.addEventListener

How to implement current location blue icon in Here Map

喜夏-厌秋 提交于 2019-12-05 07:16:59
I am working with the Here Map SDK and I need to show a blue icon with circle animation for current location like in image. Can anyone tell me how to do it. Right now I have code which sets the icon only which is blue dot. I don't know how to add circle animation to it. Note that the mMap reference is a Map object from the Here Android SDK . mMap.getPositionIndicator().setVisible(true); mMap.getPositionIndicator().setZIndex(0); mMap.setZoomLevel(15); mMap.getPositionIndicator().setAccuracyIndicatorVisible(true); mMap.getPositionIndicator().setMarker(createImage(R.drawable.ic_location_dot));

How to display markers (huge numbers) on a map which has been logically divided into segments?

社会主义新天地 提交于 2019-12-04 21:54:40
What i have done so far: i'm developing an application where i have to display more than(50K) points/Markers on the Navteq map divided into different segments. for example: if i have 50K points i will divide all points into different segments. if i divide 50K points into 50 segments each segment would have 1000 points (may not be 50 segments , it may depend). right now it is working but it takes long time and hangs to render all the points on the MAP.so that i would like to perform segmentation displaying to display only few points with clustering. so that i can get an idea of how the segment

Here maps navigation - trace left behind

家住魔仙堡 提交于 2019-12-04 19:01:11
I'm using Here maps sdk as a navigation solution, all good so far except for this little inconvenient. While in navigation mode, I see how the calculated route gets rendered around current position in 3D mode, and the current position properly displayed on the map (received in onPositionUpdated callback). But if I zoom out the map or just swipe it up to see the whole route, I see how the part of the route left behind is still visible on the map. I expected to have the route recalculated with every new gps position, and drawn starting from the newly received gps position to the destination

Launch Nokia Maps in Windows Phone 8

依然范特西╮ 提交于 2019-12-04 16:30:50
Problem I want to launch Nokia Maps inside Windows Phone 8 but I can't find the URI scheme which would allow me to do this. Nokia Maps doesn't seem to listen to their REST Api or url either. (While this does work in Windows Phone, it's not using the Nokia Map it uses the browers) My eventual goal is to figure out all the things Nokia Maps can do (X to Y, center on a gps coordinate, label locations, etc), and access them through app launching. I originally tried the bingmaps URI scheme: http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx However this did not work, as Windows

Is Here-api compatible with Flutter?

試著忘記壹切 提交于 2019-12-04 15:49:12
Is there any plugin for Flutter Framework? If it does not exist, has the Here Team plans developing an official plugin? I implemented a working prof-of-conept of a HEREMaps Flutter plugin. However, it shares the same limitations as the first version of Google Maps that has been using a Surface-Draw approach. In detail: the HEREMaps plugin currently relies on placing platform overlays on top of a bitmap snapshotting widget for creating the illusion of in-line compositing of HEREMaps views with Flutter widgets. This works only in very limited situations where - the widget is stationary - the

map fragment shows blank when app resumes from background to front. GL thread crash

你。 提交于 2019-12-04 15:25:22
I compiled a HERE tutorial app, "basic map solution", and installed it on Motorola XT1565(android 6.0.1). When I launch it, the map view can be shown, but if I move it to background and later bring it back to front, sometimes I see the map view is blank: no map content. I caught the following GL thread crash error in the log. I am using HERE Android SDK 3.1.1, and I can not find same issue on Here official app from Google Playstore. So I wonder if this issue is related to EGL lib compatible issue or there are some bugs in Here SDK native lib? 07-05 13:56:02.034 18468-18952/com.here.android

Here API offset map center

北城以北 提交于 2019-12-04 14:34:08
I'm using the Here Android SDK API. I set position indicator via: positionManager.start(PositioningManager.LocationMethod.GPS_NETWORK); map.getPositionIndicator().setVisible(true); map.getPositionIndicator().setAccuracyIndicatorVisible(true); together with NavigationManager: navMngr.setMapUpdateMode(NavigationManager.MapUpdateMode.ROADVIEW); My map use isometric view: clusterMap.setTilt(60); Thats works, but position indicator apears at the center of the screen. I need to set some offset (or padding) in order to display position indicator way below the center (some offset or padding), so

Here maps is not working

≡放荡痞女 提交于 2019-12-04 12:07:46
I want to implement HERE Maps in my App. I just started to implement a sample app that just show HERE Maps . My code: // map embedded in the map fragment private Map map = null; // map fragment embedded in this activity private MapFragment mapFragment = null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_here_maps); // Search for the map fragment to finish setup by calling init(). mapFragment = (MapFragment) getFragmentManager().findFragmentById( R.id.mapfragment); /*com.here.android.mpa.common.MapSettings