Rogue Wave JViews Maps Sample: Building a Map using the SDK
Description
![]() |
This sample shows how to build a basic map using the API.
How to Use the Sample
- Select the ESRI Layer and change the style of the country layer (change the paint, line color, and so on).
- Select the Image Layer and change the style of the background image layer (change the brightness, color model, and so on).
- Select the Coordinate System tab and change the projection used to display the data.
How to Run the Sample as an Application
This sample can also be run as an application. The installation directory contains an executable JAR file, buildmap.jar
, that allows you to execute the sample with a double click from a file browser. Note that if you are using Internet Explorer, you can open the installation directory and execute the JAR file from the browser. This technique may not work in other Web browsers.
Alternatively, you can run the sample application from the command line. First check that the Ant utility is properly configured. If not, see the instructions on how to configure Ant for Rogue Wave JViews.
Then, go to the installation directory of the sample and type:
ant run
Topics Covered
- JViews Maps API.
Detailed Description
This sample shows how to build a basic map using the API.
Installation Directory
The Building a Map using the SDK sample is installed here.
Classes Involved
- ilog.views.maps.IlvCoordinateSystemProperty
- ilog.views.maps.IlvMapLayerTreeProperty
- ilog.views.maps.beans.IlvJCoordinateSystemEditorPanel
- ilog.views.maps.beans.IlvJMouseCoordinateViewer
- ilog.views.maps.beans.IlvLayerTreePanel
- ilog.views.maps.beans.IlvMapLayer
- ilog.views.maps.beans.IlvMapLayerTreeModel
- ilog.views.maps.datasource.IlvMapDataSource
- ilog.views.maps.datasource.IlvMapDataSourceModel
- ilog.views.maps.datasource.IlvMapDataSourceProperty
- ilog.views.maps.datasource.IlvShapeDataSource
- ilog.views.maps.format.image.IlvRasterBasicImageReader
- ilog.views.maps.graphic.style.IlvPolylineStyle
- ilog.views.maps.raster.datasource.IlvRasterDataSourceFactory
- ilog.views.maps.srs.coordsys.IlvCoordinateSystem