Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    API PARA MAPAS DE NOKIA USANDO JAVASCRIPT

    hola, probe el ejemplo siguiente:

    http://api.maps.nokia.com/en/playground/env/
    desktop/#ex_maps_example_clustermarkers_desc

    pero en el ejemplo, no dice como declarar dataPoints, como se declaran?

    en el ejemplo usan un script, el cual no explican:

    loadScript("../res/clustering/airports.js" .....

    son nokia.maps.clustering.IClusterPoint ??

    si es asi, como se usa el constructor de los nokia.maps.clustering.IClusterPoint por que en la referencia del api :

    http://api.maps.nokia.com/en/apireference/
    2.2.3/symbols/nokia.maps.clustering.IClusterPoint.html

    menciona:

    Number | undefined altitude
    Number latitude
    Number longitude
    Number value Optional : This property holds a numeric value that indicates the "weight" of the the data point within the cluster.

    pero no tiene un ejemplo del constructor si es que existe, tampoco un orden de los parametros que tiene dicho constructor

    pueden mostrarme como declarar un datapoint o como agregar datapoints a un nokia.maps.clustering.ClusterProvider ?

  2. #2
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    Aqui esta ya la solución!

    http://api.maps.nokia.com/en/maps/
    documentation.html#Marker_Clustering

    /**
    * Orginal source: http://openflights.org/data.html
    */
    var data = [
    { latitude: -6.081689, longitude: 145.391881 },
    { latitude: -5.207083, longitude: 145.7887 },
    { latitude: -5.826789, longitude: 144.295861 },
    ...
    ]

  3. #3
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    Encontré esta información:

    ttp://api.maps.nokia.com/en/maps/
    documentation.html#Marker_Clustering

    /**
    * Orginal source: http://openflights.org/data.html
    */
    var data = [
    { latitude: -6.081689, longitude: 145.391881 },
    { latitude: -5.207083, longitude: 145.7887 },
    { latitude: -5.826789, longitude: 144.295861 },
    ...
    ]

  4. #4

Similar Threads

  1. nokia.maps.clustering.ClusterProvider and dataPoints? IClusterPoint?
    By upixsoul in forum Maps API for Javascript
    Replies: 3
    Last Post: 2012-10-12, 16:28
  2. Replies: 5
    Last Post: 2012-05-30, 15:54
  3. Is there a way to convert Maps Data from Nokia Maps 3 to be compatible with N Maps 2
    By dimchopicha in forum General Development Questions
    Replies: 6
    Last Post: 2011-01-09, 17:50
  4. Navigation route coordinates from Nokia Maps or Ovi Maps
    By selimsolmaz in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2010-03-04, 10:02
  5. Replies: 3
    Last Post: 2010-03-03, 10:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
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