MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Problem with locations

This is a discussion on Problem with locations within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all I have the following problem: I wrote a VB application that has two map objects that are placed ...


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

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 09-09-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Problem with locations

Hi all

I have the following problem:

I wrote a VB application that has two map objects that are placed on top of each other, each map has the same pushpins with different symbols.

I need that each time the user flips between them he will see the same zoom level and the same status (to the user eyes it will be as if there is only one map whos pushpins changed symbols)

how can i pass the zoom level and place between the maps

Thanks in advance

Kobi
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 09-09-2004
Member
Yellow Belt
 
Join Date: Sep 2003
Posts: 44
its been a while since i've had anything open programming but i think something along the lines of

Code:
objmap1.location = objmap2.location
objmap1.height= objmap2.height
should set things the same and then just switch the view to the other map
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 09-12-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Tried - not working

10x for your fast reply Matrices, but this solution does not work

I get an error message saying "Method '_Location' of object '_Map' falied"

does anyone knows how to do it?

10x in advance

Kobi
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 09-12-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,377
Blog Entries: 1
Hi Kobe,

Check the help file, I think to set the zoom level the property you will want to use is Altitude.

Here's the sample for the Location property (Map):

Sub ZoomToLocation()

Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map

'Set up the application
Set objMap = objApp.ActiveMap
objApp.Visible = True
objApp.UserControl = True

'Zoom in on map by setting map location
Set objMap.Location = objMap.FindResults("Seattle, WA")(1)

End Sub

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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
locations, problem


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
Retail locations data cableghost MapPoint 2006/2009 Discussion 3 12-02-2006 02:16 PM
finding locations SimonPearse MapPoint 2006/2009 Discussion 0 09-23-2004 08:56 AM
Incorrect locations? harris00 MapPoint 2006/2009 Discussion 1 05-25-2004 10:40 PM
array of locations Bart Vervenne MapPoint 2006/2009 Discussion 3 04-14-2003 04:03 AM
Import locations Anonymous MapPoint 2006/2009 Discussion 3 09-10-2002 04:20 PM


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

Chalet Ski Holidays
Want to book chalet ski holidays? Holiday Hypermarket doesn't just make booking easy but also gives you access to deals from leading travel brands.

Portugal Weather
Check Portugal Weather before you travel. We provide information on Portugal including weather, flights and accommodation.

Turkey Holidays
Istanbul is Turkey's prime attraction as it has the most beautiful mosques and palaces of the country; it has Byzantine churches and Roman temples. Book Turkey Holidays online.

Holidays to Bahamas
Choose from a number of extraordinary holidays to the Bahamas at The Holiday Place. See pictures of these beautiful islands online.

Cheap Egypt Holidays
Pick up a bargain cheap Egypt holiday online when you visit ulookubook.com. Just check out our tips to make sure you book at the right time to get a great holiday for a great price. Finding cheap Egypt holidays can be simple when you know how.

Price Compare
Visit Travel.co.uk for and compare not only price, but also the wide variety of options available.

Cheap holidays in Cyprus
Stunning coastline! Beautiful beaches! Cheap holidays in Cyprus, available 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 52