-
Places API via https
Is https still not supported by the api?
I've found this thread: [url]http://www.developer.nokia.com/Community/Discussion/showthread.php?233641-Does-the-API-work-with-SSL-or-HTTPS[/url]
... but was wondering if anything has changed since 2012-02-28?
In the user guide for the maps api ( [url]http://api.maps.nokia.com/en/maps/documentation.html[/url] ), this code appears in the "Marker Clustering" example:
[CODE]
(document.location.protocol == "https:") &&
nokia.Settings.set("secureConnection", "force");[/CODE]
It doesn't seem to have any effect when using the places api though, and I can't find anything in the API reference that explains this property.
-
Re: Places API via https
[QUOTE=sje_itx;905101]Is https still not supported by the api?
I've found this thread: [url]http://www.developer.nokia.com/Community/Discussion/showthread.php?233641-Does-the-API-work-with-SSL-or-HTTPS[/url]
... but was wondering if anything has changed since 2012-02-28?[/QUOTE]
The [B]free [/B]public Maps API for JavaScript still does not support HTTPS - this is a business decision. The HTTPS service is part of the Enterprise offerings - i.e. stuff companies have to pay for. To find out more about Enterprise APIs you should [I]Request a custom package[/I] with more features at the bottom of the [URL="http://developer.here.com/plans"]plans [/URL]page.
[QUOTE=sje_itx;905101]
It doesn't seem to have any effect when using the places api though, and I can't find anything in the API reference that explains this property.[/QUOTE]
That code snippet from the enterprise API has been included in the public API documentation in error. It won't do anything (and hence isn't documented) in the public API.
Furthermore as can be seen from [URL="http://www.developer.nokia.com/Community/Discussion/showthread.php?239612-findPlaces-gone-missing"]this thread[/URL], the Places JS API itself is not part of the enterprise offering. There are various legal reasons behind this. Your best bet at the moment would be to use HTTP or to write a wrapper calling the [URL="http://developer.here.com/apiexplorer/examples/api-for-rest/places-search/search-suggestion.html"]RESTful places[/URL] service instead