MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




pan problem.

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 ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-05-2006
Junior Member
Yellow Belt
 
Join Date: Apr 2006
Posts: 13
pan problem.

I export a bmp of map by using the clipboard..


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!)
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 05-06-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
I dont understeand the problem, but what is adiacent ? (Sorry English is not my native language).
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 05-06-2006
Junior Member
Yellow Belt
 
Join Date: Apr 2006
Posts: 13
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.
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 05-07-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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 ?
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


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


All times are GMT -5. The time now is 08:07 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

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.


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