MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Emulate Radius shape

This is a discussion on Emulate Radius shape within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello: I'm using Visual Basic 6 and Mappoint 2002, and I need to use programmatically the functionality of Radius shape. ...


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

Today's Posts Twitter Feed 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 06-14-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Emulate Radius shape

Hello:

I'm using Visual Basic 6 and Mappoint 2002, and I need to use programmatically the functionality of Radius shape.

Is it possible to allow users using only Radius shape? Could I emulate this shape functionality?

Thanks in advance.
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 06-14-2004
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Code:
Dim objmap As MapPointCtl.Map
Set objmap = MappointControl1.ActiveMap
    
Dim objShapes As MapPointCtl.Shapes
Dim objshape As MapPointCtl.Shape
Set objShapes = objmap.Shapes

Set objshape = objShapes.AddShape(geoShapeRadius, objmap.FindResults("Denver, CO").Item(1), 500, 500)
objshape.Name = "MyShape"
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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 06-17-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Thanks a lot, but that's not what I mean...

I want the user to "draw" a Radius shape (as in MapPoint), but without the drawing toolbar, because I only need the Radius shape, but not Rectangle, etc.

Sorry if I'm not very clear in my explanations. :'-( My English is a bit bad...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 06-18-2004
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Take a look at this, it may get you a solution.

Access some hidden features in MapPoint2002 ActiveX control
http://www.mp2kmag.com/mappoint/disc...extend+activex
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 06-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Thanks a lot, I'll try it!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 09-13-2006
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 47
Did you find any solution.. i have same problem...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 09-13-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

Draw a shape when the user clicks on the map with the centerpoint where he click and a radius of almost zero. Then when he move the mouse away resize the shape according to the right diameter. Stop drawing when he click again.

Or some other scenario, all depending on the application.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 09-16-2006
Junior Member
Yellow Belt
 
Join Date: Feb 2006
Posts: 19
Send a message via Yahoo to renatoa
This approach assume you have a mouse move event in MP, but it's not existing, as I know.

Renato

Quote:
Originally Posted by Wilfried View Post
Hi,

Draw a shape when the user clicks on the map with the centerpoint where he click and a radius of almost zero. Then when he move the mouse away resize the shape according to the right diameter. Stop drawing when he click again.

Or some other scenario, all depending on the application.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 09-16-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

Yes there is. There is a MouseDown, MouseUp and MouseMove event.
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
emulate, radius, shape


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
Does an object reside in my Shape or Shape boundaries? hotrdd MapPoint 2006/2009 Discussion 1 08-04-2005 09:51 PM
zip codes within a shape or radius rforkner MapPoint 2006/2009 Discussion 2 01-12-2005 07:25 PM
Cuting and pasting radius shape Anonymous MapPoint 2006/2009 Discussion 0 07-05-2004 04:31 AM
Don't want radius shape to increase it's size when I zoom In Anonymous MapPoint 2006/2009 Discussion 1 06-07-2004 04:58 PM
Get all pushpins in a shape (Radius, Rectangle ...) kobkob MapPoint 2006/2009 Discussion 2 04-18-2004 04:44 AM


All times are GMT -5. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Algarve Holiday
Portuguese all year round sunshine is some of what awaits you if you choose the Algarve holiday option through UlookUbook!



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 55 56 57 58 59