Spatially Aware Releases Version 1.5 of Map Suite
Spatially Aware is pleased to announce a new version of Map Suite readily available for download. Version 1.5 bring s a host of new features to this already powerful .NET mapping component.
- Firefox browser support for track shapes
- Legend control added to Map Suite Winforms Edition
- New improved help documentation
- Map Shape tool tips
- OLE DB support for data queries
- Print preview support in Internet Explorer
- New BeforeImageDraw() event
- Improved Dispose methodsfor better memory management
- Added point projection support
- Map shapes can now be added to layers in addition to the map control
- Shape files no longer hold a lock when inactive in the web environment
- Text Symbols now support a format string
- Image Layers can now be drawn on top of vector layers
- And much more!
Current customers can log into the Spatially Aware web site and access the new version under the My Downloads section located under the Support menu. If you are not currently a customer but you would like to test drive the new version, you can download a FREE 60 Day trial version here .
For more information about any of our Map Suite products, please see the Spatially Aware products page. Whether you are building .NET mapping or spatial applications for the Windows desktop, for the web using the ASP.NET platform, or you just want to build your own interfaces using the most powerful mapping engine for .NET, there is a Map Suite product just for you!
And for developers that want to "spend more time on your apps and not your maps", we offer the Render USA, Raster USA and Render World starter kits. Why spend development time putting together maps or background images when Spatially Aware has already done the heavy lifting for you!
Map Suite Webforms Offers Integration with SQL Reporting Services
Ever thought it would be too hard to put colorful maps in your online reports? With Map Suite Webforms Edition and Microsoft's SQL Reporting Services, you can now deliver great looking maps right inside your reports with ease. Spatially Aware now offers an online integration guide for getting started integrating maps into your existing or new reports that will have you up and running in no time.
Not Sure Which Products Are Right For You?
No problem! Let our team of experts help you get the package that's right for you and your organization. Tell us what you want to accomplish and we will work with you to get the Map Suite package the best fits your needs.
Give us a call or drop us an email to get started using the most flexible .NET Mapping component available.
|
Tech Tips
Plotting the Latitude and Longitude of a Point on a Map
You can easily plot a point on a map if you know the latitude and longitude. All you need to do is follow two simple steps: 1) Create a new point and 2) Add that point to the map.
Below is some sample code to make this a little clearer. Note: The below example uses sample data that comes with Map Suite.
C#
//This first section is simply to get a map
//of the US to show
Map1.MapUnit = MapSuite.Geometry.MapLengthUnits.DecimalDegrees;
MapSuite.Layer lyr = new MapSuite.Layer(@"..\sampledata\world\cntry02.shp");
lyr.ThresholdExtentsUnit = MapSuite.Geometry.MapLengthUnits.miles;
MapSuite.Threshold t = new MapSuite.Threshold(30000, 0);
MapSuite.AreaSymbol area = new MapSuite.AreaSymbol(new Pen(Color.Black, 1), Brushes.LightGray);
MapSuite.SymbolRenderer sr =new MapSuite.SymbolRenderer(area);
t.SymbolRenderers.Add(sr);
lyr.Thresholds.Add(t);
Map1.Layers.Add(lyr);
//This second section is all you need to plot a
//point if you have the latitude and longitude
MapSuite.Geometry.PointShape ps = new MapSuite.Geometry.PointShape(-119.09,34.32);
Map1.MapShapes.Add(new MapSuite.PointMapShape(ps));
//This third section shows how to add a label
//for the point
MapSuite.TextSymbol ts = new MapSuite.TextSymbol(new Font("Ariel",8), Brushes.Blue, 0, 10);
Map1.MapShapes[0].TextSymbols.Add(ts);
Map1.MapShapes[0].Name="Los Angeles";
Map1.Refresh();
VB.Net
'-- This first section is simply to get a
'-- map of the US to show
Map1.MapUnit = MapSuite.Geometry.MapLengthUnits.DecimalDegrees
Dim lyr As New MapSuite.Layer("..\sampledata\world\cntry02.shp")
lyr.ThresholdExtentsUnit = MapSuite.Geometry.MapLengthUnits.miles
Dim t As New MapSuite.Threshold(30000, 0)
Dim area As New MapSuite.AreaSymbol(New Pen(Color.Black, 1), Brushes.LightGray)
Dim sr As New MapSuite.SymbolRenderer(area)
t.SymbolRenderers.Add(sr)
lyr.Thresholds.Add(t)
Map1.Layers.Add(lyr)
'-- This second section is all you need to plot
'-- a point if you have the latitude and longitude
Dim ps As New MapSuite.Geometry.PointShape(-119.09, 34.32)
Map1.MapShapes.Add(New MapSuite.PointMapShape(ps))
'-- This third section shows how to add a label
'-- for the point
Dim ts As New MapSuite.TextSymbol(New Font("Ariel",8), Brushes.Blue, 0, 10)
Map1.MapShapes(0).TextSymbols.Add(ts)
Map1.MapShapes(0).Name="Los Angeles"
Map1.Refresh()
|