MvScaleBar() To Show Just The Metric (KM) Bar Or Just Miles Bar Not Both

(Doc ID 1089152.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle 9iAS MapViewer - Version: and later   [Release: and later ]
Information in this document applies to any platform.


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);

The visualization of the scale bar is:

20 Miles
20 km

Make it to show just the metric bar or just the miles bar not both.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms