Hi Wilfried,
thanks for your interest. Our communication problems may stem from the language of my mother too - it's also not English but German. What I want to achieve is showing 1 pushpin for 1 imported record and avoid cummulation of multiple records into 1 symbol. The function dataSet.DisplayDataMap() have the parameter showDataBy to control this (I believe). If I understand that right a value of geoShowByRegion will combine all records with the same Region into one pushpin. But geoShowDataBy have no possible value to show the data record by record. The most similar possibilities are geoShowByLatLong and geoShowByStreetAdress. But what if I have 2 ore more records with the same street adress or geocoordinates?
What I do is:
Code:
lole_dataSet = this.object.activeMap.dataSets.importData(
as_fn,
ls_field,
94,
9)
lole_field = lole_dataSet.fields.item(8)
lole_dataSet.displayDataMap(
geoDataMapTypeMultipleSymbol,
lole_field,
geoShowByLatLong,
geoCombineByDefault,
geoRangeTypeDefault,
geoRangeOrderDefault,
geoColorSchemeDefault
)
The field 8 of the imported data is a status, it should control the color of the symbol: 'READY' -> green, 'FAIL' -> red and so on. My problem is how to code this.
Thanks again,
Chris Werner