limorgah
Posts: 2
Joined: Thu Oct 01, 2009 5:59 pm

Raster a map problem

Thu Oct 01, 2009 6:06 pm

I'm trying to raster a map following the instructions at the
Developer's Guide
I opened one of the samples and replace the multimap.MapLib with my new one.
All is working fine accept:
When loading the map, at first, I want to center the map (as in the sample):

// Center map
GpsToolsNET.Position objPos = new GpsToolsNET.Position();
objPos.Latitude = 0;
objPos.Longitude = 0;
map1.Position = objPos;

But the map disappears.
What am I doing wrong?

Thanks
Limor

User avatar
johan
GpsGate
Posts: 14950
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Raster a map problem

Thu Oct 01, 2009 6:19 pm

You need to set a position that is inside the map.

Regards,
Johan

Franson Support

Return to “GpsTools”