Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Rendering graphics on top of the MapPoint Control

This is a discussion on Rendering graphics on top of the MapPoint Control within the Development forums, part of the MapPoint Desktop Discussion category; Hello, I am trying to display some custom graphics on top of a MapPoint Control map, as some of the ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Rendering graphics on top of the MapPoint Control

    Hello,

    I am trying to display some custom graphics on top of a MapPoint Control map, as some of the built-in MapPoint objects for points and lines are painfully slow when creating large numbers of graphics objects.

    Has anyone successfully rendered .Net GDI+ graphics on top a MapPoint Control?

    I have tried creating a GDI+ Graphics class from the MapPoint Control (for example, oGraphicsClass = oMapPointControl.CreateGraphics() ).

    Next, I use drawing methods of the graphics class after a MapPoint Control redraw (using the MapPoint AfterRedraw event as the trigger).

    I use the LocationToX and LocationToY MapPoint methods to ensure latitude/longitude coordinates are correctly transposed to GDI+ pixel coordinates.

    All statements execute and the pixel arguments seem reasonable, but no custom graphics, just the usual MapPoint map.

    Thanks for any insight.

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    did you get this to work??

  3. #3
    Gianmaria is offline Member Yellow Belt
    Join Date
    Dec 2004
    Posts
    47

    Re: Rendering graphics on top of the MapPoint Control

    Yes, did you solved this? Be able to draw on the map can solve many problemas related to pushpins customization and so on...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dataset rendering
    By Gianmaria in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 06-09-2005, 03:22 PM
  2. Embedded Graphics and MP Control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-27-2005, 05:18 PM
  3. Convert MapPoint graphics to shapefile export
    By Anonymous in forum Wish List
    Replies: 1
    Last Post: 12-21-2004, 12:50 PM
  4. MapPoint Graphics Control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-30-2004, 08:03 AM
  5. Map Rendering
    By priyands in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-15-2004, 01:05 PM

Tags for this Thread

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25