Discussion Board

Search:

Type: Posts; User: jasfox; Keyword(s):

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds; generated 4 minute(s) ago.

  1. Replies
    2
    Views
    825

    Re: Change initial scale unit

    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...
  2. Re: Get Address details for each location without following link?

    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...
  3. Thread: Map Image

    by jasfox
    Replies
    3
    Views
    798

    Re: Map Image

    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...
  4. Replies
    5
    Views
    867

    Re: Probleme wtih mailto: and nokia maps

    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...
  5. Replies
    14
    Views
    1,821

    Re: Memory Leak when removing and adding markers.

    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...
  6. Replies
    5
    Views
    867

    Re: Probleme wtih mailto: and nokia maps

    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...
  7. Re: Nokia Places API - Incorrect City Name for several addresses

    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,...
  8. Replies
    14
    Views
    1,821

    Re: Memory Leak when removing and adding markers.

    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...
  9. Replies
    14
    Views
    1,821

    Re: Memory Leak when removing and adding markers.

    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...
  10. Replies
    13
    Views
    3,638

    Re: Mapping address suggestions

    Try the HERE Places API discover service. e.g....
  11. Replies
    14
    Views
    1,821

    Re: Memory Leak when removing and adding markers.

    <!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;...
  12. Replies
    3
    Views
    1,745

    Re: Cluster onclick event

    Add a theme parameter to the ClusterProvider as shown below.


    var ClusterProvider = nokia.maps.clustering.ClusterProvider,
    clusterProvider = new ClusterProvider(display, {
    eps: 16,...
  13. Replies
    1
    Views
    2,567

    Sticky: Re: Nokia Places API FAQ

    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...
  14. Replies
    1
    Views
    1,950

    Re: Places API via https

    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...
  15. Replies
    4
    Views
    1,321

    Re: Nokia maps offline content shared?

    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...
  16. Replies
    13
    Views
    3,638

    Re: Mapping address suggestions

    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...
  17. Replies
    4
    Views
    3,306

    Re: [moved] Asynchronously map API load issue

    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
  18. Replies
    1
    Views
    1,873

    Re: Kml number limit of feature

    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...
  19. Replies
    4
    Views
    3,172

    Re: distance between two gps coordinates

    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:

    ...
  20. Replies
    3
    Views
    2,160

    Re: Support geometry types for KML overlays?

    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...
  21. Replies
    1
    Views
    1,723

    Re: Use HTML5 and canvas

    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...
  22. Replies
    2
    Views
    1,869

    Re: Unit of travelTime and length of RouteLeg

    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...
  23. Replies
    3
    Views
    1,988

    Re: findPlaces gone missing....

    The Places JS API is not currently included as part of the 2.2.3 Enterprise suite.
  24. Replies
    3
    Views
    2,401

    Re: RouteId not returned when requesting a route

    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...
  25. Replies
    5
    Views
    2,551

    Re: Traffic Directions.....

    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...
Results 1 to 25 of 202
Page 1 of 9 1 2 3 4
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved