Community of VE/MapPoint Users and Developers
This is a discussion on Mapping both Reps and Sales within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is it possible to map customers sales by sized circles and reps by the color of the circle (same circle) ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Re: Mapping both Reps and Sales
Yes you can do this in MapPoint 2006, but you have to use some custom programming rather than the Sized Circle option in the Data Mapping Wizard. You can plot circles using AddShape to define a circle with a given location and radius. To represent sales the area of each circle needs to be proportionate to sales so the radius of each circle will be iRad = Sqr(SalesValue / Pi) * SizeFactor with the size factor being any constant that makes the circles a sensible size for the map (I usually use trial and error here). You can then block fill each circle in one of 8 colours using objMap.Shapes.Item(NCircleIndex).Fill.ForeColor = CircleColour with the required circle colour specified in your data for each rep and assigned a standard vb colour (vbBlack, vbRed, vbGreen, vbYellow, vbBlue, vbMagenta, vbCyan, or vbWhite). If you need a bit of sample code in excel vba then pm me your e-mail and I’ll send some through. Rgds
__________________ David MapPoint Europe Gallery at http://www.broomanalysis.plus.com/gallerylist.html |
| |||
| Re: Mapping both Reps and Sales
This code snippet may help: 'draw circle If NoCirc Then Rd = 0.1 ElseIf Me.cbxShowProportionalCircles.Value Then Rd = CLng(Sz * (cDelVol.Cells(x, 1).Value / Mx)) ElseIf Me.cbxConstantCircles.Value Then Rd = Sz End If Set CiSh(x) = gobjMap.Shapes.AddShape(geoShapeRadius, mpLocTo(x), Rd, Rd) CiSh(x).Line.ForeColor = mpLocCol(x) CiSh(x).Fill.ForeColor = mpLocCol(x) CiSh(x).Fill.Visible = CircFill CiSh(x).Line.Weight = LnWgt CiSh(x).SizeVisible = False basically, draw circle first at a mappoint location then sets its colour, fill etc. MpLocCol(x) is - in this case - any of 8 different colours. |
![]() |
| Tags |
| mapping, reps, sales |
| ||||
| Posted By | For | Type | Date | |
| Working With Excel and MapPoint - MP2K Magazine | This thread | Refback | 10-12-2008 02:15 AM | |
| Merging Multiple Routes - MapPoint Articles - MP2K Magazine | This thread | Refback | 10-10-2008 10:03 AM | |
| Virtual Earth Launch News Roundup - MP2K Magazine | This thread | Refback | 10-09-2008 08:24 PM | |
| MapPoint Review and Perspective - MapPoint Articles - MP2K Magazine | This thread | Refback | 10-08-2008 07:32 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mappoint for sales | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-26-2005 11:52 AM |
| Mapping multiple sets of sales data | LS | MapPoint 2006/2009 Discussion | 0 | 08-18-2004 07:32 PM |
| How to keep track of 500+ independent reps | yourbaglady | MapPoint 2006/2009 Discussion | 1 | 07-29-2004 08:56 PM |
| Territories - Regions - Reps and other great ideas. | Anonymous | Wish List | 0 | 03-21-2003 01:43 PM |
| door to door sales - mapping for contact management | Neil Kay | MapPoint 2006/2009 Discussion | 1 | 10-07-2002 07:07 AM |