Class MVMarkerFactory
Object
|
+--MVMarkerFactory
- class
MVMarkerFactory
Defined in oracleelocation.js
Method Summary |
<static> MVFOI
|
createMarkerFOI(<MVSdoGeometry> loc, <String> text, <int> style, <String> color, id)
This is a static method that creates a new point marker FOI object.
|
<static> void
|
setImageBaseURL(<String> url)
This is a static method that sets the URL that points to the directory where all built-in marker images
can be found.
|
COLOR_BLUE
<static> Object COLOR_BLUE
COLOR_GREEN
<static> Object COLOR_GREEN
COLOR_ORANGE
<static> Object COLOR_ORANGE
COLOR_PURPLE
<static> Object COLOR_PURPLE
COLOR_RED
<static> Object COLOR_RED
STYLE_3D_CUBE
<static> Object STYLE_3D_CUBE
STYLE_BUBBLE
<static> Object STYLE_BUBBLE
STYLE_DIAGONAL_SQUARE
<static> Object STYLE_DIAGONAL_SQUARE
STYLE_FLAG
<static> Object STYLE_FLAG
STYLE_HEXAGON
<static> Object STYLE_HEXAGON
STYLE_PIN_1
<static> Object STYLE_PIN_1
STYLE_PIN_2
<static> Object STYLE_PIN_2
STYLE_POINTER_BUBBLE
<static> Object STYLE_POINTER_BUBBLE
STYLE_SIGN_1
<static> Object STYLE_SIGN_1
STYLE_SIGN_2
<static> Object STYLE_SIGN_2
STYLE_SMALL_PIN
<static> Object STYLE_SMALL_PIN
STYLE_SQUARE_BUBBLE
<static> Object STYLE_SQUARE_BUBBLE
STYLE_TRAFFIC_SIGN_1
<static> Object STYLE_TRAFFIC_SIGN_1
STYLE_TRAFFIC_SIGN_2
<static> Object STYLE_TRAFFIC_SIGN_2
WINDOW_STYLE_1
<static> Object WINDOW_STYLE_1
WINDOW_STYLE_2
<static> Object WINDOW_STYLE_2
WINDOW_STYLE_3
<static> Object WINDOW_STYLE_3
WINDOW_STYLE_4
<static> Object WINDOW_STYLE_4
MVMarkerFactory
MVMarkerFactory()
createMarkerFOI
<static> MVFOI createMarkerFOI(<MVSdoGeometry> loc, <String> text, <int> style, <String> color, id)
var marker = MVMarkerFactory.createMarkerFOI(
MVSdoGeometry.createPoint(-122.5, 37.5, 8307),
"5",
MVMarkerFactory.STYLE_POINTER_BUBBLE,
MVMarkerFactory.COLOR_PURPLE);
mapview.addFOI(marker) ;
Parameters:
loc
- loc specifies the location of the marker FOI.
text
- text specifies the text displayed on the marker.
style
- style specifies the marker style, which must be one of the 12 built-in styles.
color
- color specifies the color of the marker. It must be one of the 5 colors.
setImageBaseURL
<static> void setImageBaseURL(<String> url)
This is a static method that sets the URL that points to the directory where all built-in marker images
can be found.
Parameters:
url
- url specifies the URL of the directory where the marker image files can be found.
Documentation generated by
JSDoc on Fri Nov 7 12:24:50 2014