| Programming with JViews Maps > Symbology > Populating the SDM Model |
Populating the SDM Model |
INDEX
PREVIOUS
NEXT
|
You can then populate the SDM model using the API, for example:
Object symbolNode = engine.getModel().createNode("symbol");
engine.getModel().addObject(symbolNode, null, null);
...
engine.getModel().setObjectProperty(symbolNode,
"longitude", new Double(Math.toRadians(44)));
engine.getModel().setObjectProperty(symbolNode,
"latitude", new Double(Math.toRadians(-105)));
...
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |