×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    5

    redering countries with different colors using nokia maps

    I am developing an application on wp8 / wp7 which will show a map with countries filled with different colors based on some data. For example it will show population density of the world.

    For this to work I would be needing geo-coordinate information of all country boundaries, so that I can map that to screen coordinates and overlay polygons on top of the map. Is there any API to get such information in Bing maps or Nokia maps? I am specifically interested in Nokia maps.

    Thanks,
    Manish

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: redering countries with different colors using nokia maps

    as far as I know there is no API for this purpose, so I would suggest checking whether there would be any which you could use over HTTP connection.

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,559

    Re: redering countries with different colors using nokia maps

    Wouldn't it be much, much easier/simpler to just use, e.g., an existing bitmap (or vector format, for better scaling) of all countries (where you have used specific colours for specific countries, and where you can simply replace the colours you wish in the palette with whatever you want to use)?

    In other words, relying on geo-coordinates for all the borders and maps from Bing/Nokia/others seems like it's rather complex/overkill for something like this.

    Or is there something else in your list of requirements (that you haven't mentioned) where using Bing or Nokia maps is required?

  4. #4
    Registered User
    Join Date
    Dec 2012
    Location
    Zagreb, Croatia
    Posts
    73

    Re: redering countries with different colors using nokia maps

    Check out d-maps, they have such data in SVG format which you could parse and use.

  5. #5
    Registered User
    Join Date
    Mar 2013
    Posts
    5

    Re: redering countries with different colors using nokia maps

    Quote Originally Posted by symbianyucca View Post
    as far as I know there is no API for this purpose, so I would suggest checking whether there would be any which you could use over HTTP connection.
    Any pointers on HTTP connection api?

  6. #6
    Registered User
    Join Date
    Dec 2012
    Location
    Zagreb, Croatia
    Posts
    73

    Re: redering countries with different colors using nokia maps

    You can use WebClient or HttpWebRequest/Response. But seriously, download SVG map and get its coordinates. Then you can create overlays over the map for each country.

  7. #7
    Registered User
    Join Date
    Mar 2013
    Posts
    5

    Re: redering countries with different colors using nokia maps

    Quote Originally Posted by petrib View Post
    Wouldn't it be much, much easier/simpler to just use, e.g., an existing bitmap (or vector format, for better scaling) of all countries (where you have used specific colours for specific countries, and where you can simply replace the colours you wish in the palette with whatever you want to use)?

    In other words, relying on geo-coordinates for all the borders and maps from Bing/Nokia/others seems like it's rather complex/overkill for something like this.

    Or is there something else in your list of requirements (that you haven't mentioned) where using Bing or Nokia maps is required?
    Basically i want to have something like below but i am not supposed to use Google map api for my app.

    https://developers.google.com/chart/...llery/geochart

    I suppose there are no such charting apis in bing and nokia maps, please correct me if i am wrong. So far after reading and searching i came to know that Nokia maps / Bing maps do not provide any such support. Then i came across dataconnector project (http://dataconnector.codeplex.com/). Dataconnector has a database containing spatial data (geocordinates / gemoetry) information of all the country. And there is one WCF service which uses the database and returns returns a PNG file with rendered countries with some color. Then this PNG file i am overlaying over maps control in my wp app. This is what i want. But i was searching for something which is already available in Nokia/Bing Maps. Please let me know if there is such a thing already in built in Nokia maps.

Similar Threads

  1. how can i, create a nokia.maps.map.Polyline using a nokia.maps.routing.Manager?
    By upixsoul in forum [Archived] Maps API for Javascript
    Replies: 5
    Last Post: 2012-05-30, 15:54
  2. 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
  3. 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
  4. 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
  •  
×