alexus
03-01-2008, 11:32 PM
HI,
Can some one tell me how I can show map in 3D view?
I see that tthere is a setting for it called appearance but when I select it in the setings, it gives me the error.
Any ideas?
Thahnks!
Eric Frost
03-02-2008, 06:37 AM
What product is this - MapPoint or Virtual Earth or something else?
Also, what is the error?
Eric
alexus
03-02-2008, 12:29 PM
Ok product is MapPoint 2006, OCX Object Version 13. (But I also have Virtual Earth 3D installed on the same machine)
Anyway when I'm tying to set up the appearance property (in the constructor) it gices me popup saying:
Property Value is not valid
Object of type 'system.Int32' cannot be converted to type 'System.Int16'.
Also I'm vorking in VB2005. And I have no idea why i'm getting this error. I know it is possible to make the map look 3d since other ppl have done it.
Eric Frost
03-02-2008, 06:08 PM
OK, I see what you are saying I think.
Look in the Microsoft MapPoint Visual Basic Reference in the Help File:
Appearance property
Returns or sets the way that the MapPoint Control border is drawn. The BorderStyle property of the MappointControl object must be 1, otherwise this setting has no effect. Read/write Integer.
It is the Border Appearance you are trying to to set right? I was confused and thought you were talking about a 3D map style. :huh2:
Regarding the Int32 or Int16 error, I don't know the specifics, but it sounds like it has something to do with the type or size of the Integer variable you are using.. Long vs. Int or something like that. Different languages have different names for them.
Eric
alexus
03-02-2008, 07:22 PM
actually i was looking for 3D view of the map.
but is thta option is not for the map controll but rather for the border stile then I have to look so some other way to make map too look as 3D.
Any ideas?
Eric Frost
03-03-2008, 04:34 AM
The Virtual Earth control has some nice 3D options including oblique (birds-eye) imagery and 3D buildings... but check to see if it covers the area(s) you need first.
Eric :stuart:
Wilfried
03-03-2008, 04:38 AM
Hi,
Yes it is the border style. The map is always flat. for the number conversion error you have to typecast it like this: the16 = (Int16)The32; and then the compiler will interpret the 32bit value as a 16 bit. Note that the high order 16 bits are lost.
alexus
03-03-2008, 12:08 PM
OK, so how do I implement Virtual earth in my local VB app? Also I thought that Virtual Earth requires all time internet connection, since it is gettig its map data from the internet all the time.
Eric Frost
03-03-2008, 12:20 PM
The only two applications I know of that do 3D maps of lots of cities (building outlines specifically) are Google Earth and the Virtual Earth control, both of which require an internet connection.
You might see what products DeLorme has to offer these days, but when I last looked it was only topographic 3d maps (e.g. mountains :47v:). DeLorme GPS and Maps: NEW! Topo USA 7.0, PN-20 GPS, Street Atlas USA 2008, State Atlas Series, XMap 5.2 GIS (http://www.delorme.com)
What do you need to see in 3d exactly? What features and in what area(s) - North America or just one city?
Eric
alexus
03-03-2008, 12:40 PM
ok here is what i wanna do
I want to make map texture "horizontal" well something like TomTom and magority new Car Gps Devices are now ofering. That the main poiint. I dont really care about 3d buildings on the map (well if i can load them that would be nice but i can leave that as option when the inet connction is avalible)
Eric Frost
03-03-2008, 12:53 PM
Take a look at Streets & Trips 2008 to see if it does it.. if it does then maybe they will include that feature in the next version of MapPoint.
Eric