User:Mapelves
From MapElves
Main page -> Templates
| Objects | Template for objects and controls | |
| Properties | Template for properties and events | |
| Methods | Template for methods |
Contents |
Todo
Faq
Late binding
Many pushpins is slow
Use ImportData:
MapPoint.DataSet dataSet;
object[,] fieldSpecifications = null;
fieldSpecifications = new object[2, 2];
fieldSpecifications[0, 0] = "Lat";
fieldSpecifications[0, 1] = MapPoint.GeoFieldType.geoFieldLatitude;
fieldSpecifications[1, 0] = "Lon";
fieldSpecifications[1, 1] = MapPoint.GeoFieldType.geoFieldLongitude;
dataSet = MP.ActiveMap.DataSets.ImportData(fileName,
fieldSpecifications,
MapPoint.GeoCountry.geoCountryDefault,
MapPoint.GeoDelimiter.geoDelimiterSemicolon,
0);
Screen flickers if switching off ItineraryVisible
- Set hide the map while calculating the route, and show it again after. Screen will not flicker but is blank for a moment.
- Capture the screen and display the bitmap while calculating. A little more work but nice.
