Serial port and GPS

BmpMaps Class

Collection of maps.

For a list of all members of this type, see BmpMaps Members.

System.Object
   serial.BmpMaps

[Visual Basic]
Public Class BmpMaps
    Implements IDisposable
[C#]
public class BmpMaps : IDisposable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Keeps the collection of maps in a text file, consisting of lines, format of each line according to this described in BmpMap.

Example

The followingfile example.maps:

            11d59m05.60sE 49d33m16.05sN 12d00m36.03sE 49d32m21.97sN sbach.bmp
            6d37m44.00sE 43d16m26.95sN 6d39m10.66sE 43d15m29.04sN sttropez.jpg
            
defines two map entries, one in the bitmap file sbach.bmp with the boundaries: and the second map in the file sttropez.jpg with the boundaries The files sbach.bmp and sttropez.jpg are searched relatively to the location of the map file.
[C#]

            using System;
            using serial;
            public void checkMap() {
            BmpMaps     maps;
            BmpMap      map;
            maps = new Maps("example.maps");
            map = maps.get(12.5, 49.3);
            if (map != BmpMap.INVALID_MAP) {
            // ...
            }
            }
            

Requirements

Namespace: serial

Assembly: map (in map.exe)

See Also

BmpMaps Members | serial Namespace | BmpMap