Class ELocationMarkerFactory
Object
|
+--ELocationMarkerFactory
- class
ELocationMarkerFactory
Defined in oracleelocationv3.9.js
Method Summary |
<static> OM.Feature
|
createMarkerFeature(<OM.geometry.Point> loc, <String> text, <int> style, <String> color, id)
This is a static method that creates a new marker feature.
|
<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
ELocationMarkerFactory
ELocationMarkerFactory()
createMarkerFeature
<static> OM.Feature createMarkerFeature(<OM.geometry.Point> loc, <String> text, <int> style, <String> color, id)
var marker = ELocationMarkerFactory.createMarkerFeature(
new OM.geometry.Point(-122.5, 37.5, 8307),
"5",
ELocationMarkerFactory.STYLE_POINTER_BUBBLE,
ELocationMarkerFactory.COLOR_PURPLE,
point_start_1);
localLayer.addFeature(marker) ;
Parameters:
loc
- specifies the location of the marker feature.
text
- specifies the text displayed on the marker.
style
- specifies the marker style, which must be one of the 14 built-in styles.
color
- color specifies the color of the marker. It must be one of the 5 available 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 Tue Nov 8 14:10:51 2022