MvScaleBar() To Show Just The Metric (KM) Bar Or Just Miles Bar Not Both
(Doc ID 1089152.1)
Last updated on FEBRUARY 12, 2019
Applies to:
Oracle Fusion Middleware MapViewer - Version 11.1.1.1.0 to 11.1.1.7.0 [Release Oracle11g]Information in this document applies to any platform.
Symptoms
Using the following code for a scale bar:
/********************************************************************
* Add a Scale bar on the bottom left corner of the map *
********************************************************************/
scaleBar = new MVMapDecoration(new MVScaleBar(),0, 1, null, null, 4, -45);
mapview.addMapDecoration(scaleBar);
The visualization of the scale bar is:
20 Miles
20 km
Request:
Make it to show just the metric bar or just the miles bar not both.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |