Drawing Custom Regions

stuby085
04-09-2008, 12:49 PM
How can I define custom regions? By this, I mean how can I color a polygon based on provided locations? The tutorials show how to do this by state, but I would like to do this on a street scale, or perhaps by lat/long coords. Can this be done?

Mattys Consulting
04-09-2008, 02:04 PM
You're referring to custom territories?
MapPoint wasn't set up this way because no authoratitive office
collects and uses that data. You'll have to settle for freeform
drawing and code.

Mike Mattys

stuby085
04-09-2008, 02:23 PM
I suppose territories is what they would be called, I'm not sure the wording. For example, If I want to shade everything from the middle of Arizona to the middle of Maine to the top left of Alaska, could I?

If not, I know I can add the map as a control on a form, is there a way to get the location within the map from that control? ie. 38° 22' N 81° 36' W in map coords to 100,100 control coords? If so, I believe I can shade my areas in this manner.

Mattys Consulting
04-09-2008, 02:33 PM
You'd use the Drawing Tools, usually located in the lower left corner,
to draw a rectangle or other shape. Once drawn, you can change its
interior color and border line thickness and color.

Most pertinent, once the shape is selected (box handles), you can right-
click on the shape, choose order, and send behind roads.

The shape will have either width & height or vertices.
Vertices will be best to work with because you can obtain
the latitude and longitude.

Also, in code you can .QueryShape.
(I hope you'll find these keywords in MapPoint Help)

Mike Mattys

 
Web mp2kmag.com
mapforums.com