MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 Discussion category; Hello, I am trying to display some custom graphics on top of a MapPoint Control map, as some of the ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion > Development

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
did you get this to work??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-12-2007
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 44
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
control, graphics, mappoint, rendering, top


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Dataset rendering Gianmaria MapPoint 2006/2009 Discussion 3 06-09-2005 03:22 PM
Embedded Graphics and MP Control Anonymous MapPoint 2006/2009 Discussion 3 01-27-2005 05:18 PM
Convert MapPoint graphics to shapefile export Anonymous Wish List 1 12-21-2004 12:50 PM
MapPoint Graphics Control Anonymous MapPoint 2006/2009 Discussion 0 09-30-2004 08:03 AM
Map Rendering priyands MapPoint 2006/2009 Discussion 2 01-15-2004 01:05 PM


All times are GMT -5. The time now is 10:14 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54