White Border On Background

This is the Forum to discuss the use of SBuilderX (version 3.10 and above). For previous versions of SBuilder please use the "SBuilder for Flight Simulator FS2004" forum.
Post Reply
boleyd
Posts: 402
Joined: Sun Sep 19, 2004 10:57 pm
Location: USA

White Border On Background

Post by boleyd » Tue Dec 04, 2007 6:21 pm

A white border appears around background images as you go North of about 39 degrees. Lower than this and the background filles the entire screen. Does not seem to be source related.

Dick Boley near 5G8

User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Post by Luis Sa » Tue Dec 04, 2007 8:40 pm

Hi Dick

[?]

What Server and what Zoom?

Luis

boleyd
Posts: 402
Joined: Sun Sep 19, 2004 10:57 pm
Location: USA

Post by boleyd » Wed Dec 05, 2007 8:44 pm

The border appears on zoom levels 3 and greater in higher latitudes. It occurs on all servers - map and street. Just go to northern Canada and it may occur for you. Or, it may be my system.

While I was zooming around I received an exception error. I get these and other Microsoft generated overflow errors with sufficient frequency that I will have to reload the program. Unfortunately I cannot attach images and Bill Gates does not allow me to do a Copy of his error messages.

XP/SP2, ATI 9800SE 128mb, 1gb memory, Intel e4400 clocked to 2.7ghz

Dick Boley near 5G8

User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Post by Luis Sa » Thu Dec 06, 2007 1:37 am

Hello,

Code: Select all

            ImageTile = New Bitmap(1792, HH)
            MapBackground.WLON = LonFromXMerc(X, Zoom)
            MapBackground.ELON = LonFromXMerc(X + 7, Zoom)
            MapBackground.NLAT = LatFromYMerc(Y, Zoom)
            MapBackground.SLAT = LatFromYMerc(Y + 5, Zoom)
            MapBackground.COLS = ImageTile.Width
            MapBackground.ROWS = ImageTile.Height
The background is a picture that corresponds to 7 x 5 tiles! The distortion that you observe is due to the projection that SBuilderX uses to display maps. Nothing is wrong I hope. The lat/lon that the mouse shows is correct even when you are at those northen latitudes.

Kind Regards,

Luis

Post Reply