I want to make a thematic map with Oracle source longitude and latitude values. I have made thematic maps with tab file source. Part of the code looks like this:
MapInfo.Engine.Session.Current.MapFactory[0].Layers.Insert(0, new MapInfo.Mapping.FeatureLayer(MapInfo.Engine.Session.Current.Catalog.GetTable("SPA_POINTS"), "TempThematicLayer", "TempThematicLayer"));
MapInfo.Mapping.FeatureLayer lyr = harita.Layers["TempThematicLayer"] as MapInfo.Mapping.FeatureLayer;
MapInfo.Mapping.Thematics.RangedTheme ranthm = new MapInfo.Mapping.Thematics.RangedTheme(lyr, "MAGNITUDE", "SPA_POINTSThematic", 10, MapInfo.Mapping.Thematics.DistributionMethod.EqualCountPerRange);
What can I use instead of:
GetTable("SPA_POINTS")
or how can I make a thematic map with an Oracle table?
