I am not able to find an endpoint in Places ( Search ) API to add a new POI, Can you please tell me which entry point should be used for POST to add a Place to HERE MAPS?
I would also like to know if the following API will let me add a missing place/business to HERE Maps :
https://developer.here.com/documentation/examples/rest/map_feedback/map-feedback-about-a-missing-place
As far as I know (I work for HERE, but do not know everything), the endpoint you found for Map Feedback would be how you would add information about a missing resource.
Related
I'm using the latest version of the here javascript sdk 3.1.32.0
When I use H.service.Url.MultiValueQueryParameter for my via points like
{
...,
via: new H.service.Url.MultiValueQueryParameter(['50.1234,8.7654', '51.2234,9.1123']);
}
I see in the URL params of my request this: &via=%5Bobject%20Object%5D
Someone an idea why this happens?
Thanks in advance!
When you use "via" parameter, you define a list of via waypoints. A via waypoint is not a native datatype recongnized by JavaScript, therefore, you will see in the URL params the word object refering to a particular data structure, in this case the via Waypoint composed mainly by Latitude, Longitude.
Regards.
This took a while to figure out the actual issue with the malformed url params. I was dynamically loading the here maps service script on mount of a component. Accidentally this happened in some cases twice. In both cases H was globally available and everything worked like expected. BUT when the script was loaded twice H.service.Url.MultiValueQueryParameter didn't return the correct params. It basically encoded them twice, or tried to.
The other side issue was that https://www.npmjs.com/package/#types/heremaps is outdated and doesn't cover MultiValueQueryParameter. So I had to remove the types and use my own. Else I probably would have realized the issue earlier.
I'm using Adobe AEM, and I can't fetch the informations I want from the repository with the QueryBuilder.
I could reproduce my problem with the servlet.
When I enter this URL :
http://localhost:4502/bin/querybuilder.json?path=/content/geometrixx/en/products/triangle&type=cq:Page
It returns 2 results : Features and Overview.
But I would like the query to also return Triangle which is a cq:Page.
Can you help me plz ?
Thanks.
This is because, Querybuilder would search only the subtree if the path property alone is set.
In case you want to include the given path too in the search, then you need to add path.self=true to the request.
http://localhost:4502/bin/querybuilder.json?path=/content/geometrixx/en/products/triangle&type=cq:Page&path.self=true
For more info on Path Predicate, refer this (updated link).
I have one place I want to check that place is present between route of Source and Destination using Google Directions API.
for example:
A - source
B - destination
and
C - is the place.
Now i want to check that C is present or not in A to B route.
Thanks.
A directionsRoute contains a overview_path-property, whih defines a simplified path for the route.
You may use this path to create a polyline and then use google.maps.geometry.poly.isLocationOnEdge() to check if the place is on the route.
As the overview_path is simplified, you can use the path-property of the steps to create a more detailed route(polyline) and get a more accurate result.
I am currently editing my previous question because I finally found the solution "how to manage with oodle API ?" Now the actual point is I dont know how to integrate the result !
let me give you example I have generated my API key and through my API key I can access data from oodle !
http://api.oodle.com/api/v2/listings?key=TEST®ion=chicago&category=vehicle/car
In case of "TEST" i write my API key.
Now the problem is this link returns value in XML but how can i fetch it from XML ? Now the point is I don't want to open this link but I want XML data from the page ! Try to visit link given above. You can get idea.
Hope for the positive answer !
For more information I have read this link
http://developer.oodle.com/
when a marker is drag on google map we can get the latlong right.But i wanna get the location
name whenever i drag the marker,so how can i get it can anyone help me?
regards
vinit
You should use reverse geocoding for that :) I haven't done it in flash, only asp.net, but I found an example that implements this:
http://groups.google.com/group/google-maps-api-for-flash/browse_thread/thread/b6c5d13f06e6879b