×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    63

    Vector map question

    Opinion asked: What would be a good practise to show vector lines on a map ? Adding polylines seems to be too heavy when there are plenty of lines.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,698

    Re: Vector map question

    It also matters if the lines are connected. If yes, polyline starts becoming a good approach.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    63

    Re: Vector map question

    Is it some way possible to change MapPolygons fill opacity ?

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

    Re: Vector map question

    Have you checked the API docs for the MapPolygon ?
    If I remember right it indeed has the functionality which with you can set the opacity.

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    63

    Re: Vector map question

    It is this: Microsoft.Phone.Maps.Controls.MapPolygon and I don't find opacity. Fillcolor and strokecolor are there. I thought there might be some other way. Is this different with wp7 maps ?

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

    Re: Vector map question

    ok, I remembered then the old API, anyway, have you tried setting the aplha channel ?

    i.e. like: poly.FillColor = Color.FromArgb(0x55, 0x00, 0xFF, 0x00);

    You could find this line along side other exmaples I made some time back from the projects site: https://projects.developer.nokia.com...8mapsexamples/

  7. #7
    Registered User
    Join Date
    Dec 2005
    Posts
    63

    Re: Vector map question

    Works great, thanks.

Similar Threads

  1. vector help
    By jselvakumar26071988 in forum Mobile Java General
    Replies: 5
    Last Post: 2008-10-13, 08:19
  2. Vector in j2me
    By chia_84 in forum Mobile Java General
    Replies: 0
    Last Post: 2008-07-04, 09:47
  3. question about vector for symbian
    By ram4soft in forum Symbian
    Replies: 3
    Last Post: 2007-08-19, 21:11
  4. Normals vector
    By alabama83 in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-06-24, 23:39
  5. RMS v. Vector
    By kevin1964 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-16, 17:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×