My Oracle Support Banner

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 to [Release Oracle11g]
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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.