Community of VE/MapPoint Users and Developers
This is a discussion on pan problem. within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I export a bmp of map by using the clipboard.. My clipboard exporting is calibrated by using a centerLocation. First ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| pan problem. My clipboard exporting is calibrated by using a centerLocation. First i do centerLocation.goTo(); Then I export image from a clipboard. I wish to use this mechanism to export adiacent map section(N,E,W,S), by panning exactly (with same altitude, width and height) in a adiacent zone. Finally by create a new bigimage i compose the final image. (map web page exporting is good(3500pixelX3500pixel) but not for my work!) |
| |||
|
I dont understeand the problem, but what is adiacent ? (Sorry English is not my native language).
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Excuse me for my bad english. adjacent == close An example for explain better my problem (I hope Imagine a big virtual desktop on your pc (1000x1000pixel). You have only a real resolution of 500x500 pixel. You have with c# language the possibilty of capture a screenshot of your real desktop 500x500. But you want a screenshot of the entire big virtual desktop 2000x2000. so you must capture 4 screenshot 500x500 adjacent and then paste it and obtain a big desktop screenshot. I capture the first square [0,0 500,500] I have a method in c# that also permits to pan the destkop so I can move the screen left to 500pixel. I capture the second [500,0,1000,500] and so on with third and fourth My problem is analogous, with mappoint 2004 activeX. |
| |||
|
Hi, I think I understeand now. First goto the location with zoom level of complete view. then create 4 Location objects with XYToLocation for you top/left, top/right, bottom/left, bottom/right views. You can calculate them according to the Width and Height properites. Then zoom to the level where you have just 1/4 of the screen (dont know the zoom factor to calculate but with some investigation should be possible). Then Goto the 4 locations with the right zoom level. Is that making sence ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
Short Break Ski Holidays
Just want to book a short break? Short break ski holidays become great value when you book at Holiday Hypermarket. See the range of deals on offer.
City Breaks
Book a city break with Travel Counsellors. A personal travel advisor will help you make the most of your city break.
Flights to Cape Town
Before booking flights to Cape Town visit dealchecker.co.uk to make sure you are getting the best deal in town. Visit online today and try the holiday search for free.
Dubai Holidays
Dubai holidays provide you with exotic sights, desert safaris and superb cuisine. There is an extensive range of things to do and see!
Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.
Travel
Check out the travel options on Travel.co.uk.
Cheap Holidays to Gran Canaria
Book a flight to the Canary Islands! View information on cheap holidays to Gran Canaria online at On The Beach.