The API reference shows that the scale unit is controlled by a boolean showImperialUnits parameter. As a general rule it is best to update these parameters using the set() method.
You'll need to...
Type: Posts; User: jasfox; Keyword(s):
The API reference shows that the scale unit is controlled by a boolean showImperialUnits parameter. As a general rule it is best to update these parameters using the set() method.
You'll need to...
This appears to be a design decision as can be seen from the following quote in the Developer's Guide
The usual manner of using Places would be to obtain a general summary of information about the...
The problem is that the API(s) are not designed to do this. The JavaScript API relies on Map tiles from the back-end server and the REST API is designed for a simple snapshot. The best workaround I...
Just try typing mailto:example@mail.com directly in the Omnibox of the various browsers. If your browser is configured correctly, it should bring up a eMail dialog. If you can get that then the Map...
I believe the real reason my static data example works, and your alternative does not, is not because I am repeatedly displaying the same array, but it is because I am creating an array of IPoints...
This is unlikely to be an API related problem, more likely a browser issue. You'll have to post some code and explain which browser/mail client combination is failing for you. The following snippet...
The Places is not the correct API to use to search for addresses - please read the following thread for more options. Instead of forcing a local search API to incorrectly try to obtain addresses,...
My guess is that because the test harness keeps creating new geoCoordinates in the getRandomCoordinate() method - the sample code only recycled the markers.
If you take the population of German...
This is how I would attempt to recycle Markers within a cluster. container1 is just a bag which is never added to the map.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head...
Try the HERE Places API discover service. e.g....
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Nokia map - Memory test</title>
</head>
<body>
<div id="mapContainer" style="width: 1024px;...
Add a theme parameter to the ClusterProvider as shown below.
var ClusterProvider = nokia.maps.clustering.ClusterProvider,
clusterProvider = new ClusterProvider(display, {
eps: 16,...
Q: What is the HERE Places API?
A: The HERE Places API is a RESTful web service API that allows you to offer places data from the HERE Cloud (as used in HERE Maps) direct to the users of your...
The free 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...
You may want to look at creating an overlay using something like the TileSource class. I would suggest you should check the legal position of your source to ensure that the tile sources you use are...
You may want to look at the suggestion service of the RESTful places API. All you need to supply is a location hint for the centre of the search box and the partial text to get a response. You can...
Asynchronous Loading support has been introduced in version 2.2.4 of the Maps API for Javascript:
A worked example can be found in the wiki
If you want to load multiple concurrent KML files, the cleanest way to do would be to create multiple instances of nokia.maps.kml.Manager - The example below places each result set into a base...
You need to use the relevant platform implementation of the Haversine formula. This is usually a function associated with the Coordinate (lat/Long) implementation within the API
For example:
...
Hi rochedy,
The Nokia Maps for JavaScript KML reader supports both <LinearRing> and <LineString> elements, so there should (ideally) be no problem in displaying a <LineString> where the first and...
You don't need to worry about using a Canvas element yourself - the library will automagically inject a series of canvas elements into the block level element containing the map - this is usually...
Metres, it is the only unit which makes sense for convertions - your 1/2 km route is actually 7 metres short of 0.5 km - you can convert to imperial units as shown:
function...
The Places JS API is not currently included as part of the 2.2.3 Enterprise suite.
Enterprise is a separate website and uses a different library, so you'll need to update the <SCRIPT> in the <HEADER> - I've PM'd you the link. Using firebug on the enterprise routing example I see...
The sample code has now been updated to use version 2.2.4 of the API, and much of the burden of translating the directions has been removed from the client code. 2.2.4 still doesn't offer imperial...