The CoreMapGraphic class is an implementation of disposible interface MapGraphic.
var geoJSON = { type: "Feature", geometry: { type: 'LineString', coordinates: [[-82.441, 29.200], [-82.441, 29.535]] }, properties: { } }; var mapGraphicOptions = { geometry: geoJSON.geometry, feature: geoJSON, shape: 'LineString' }; var mapGraphic = new CoreMapGraphic(graphicOptions);
The CoreMapGraphic class is an implementation of disposible interface MapGraphic.
var geoJSON = { type: "Feature", geometry: { type: 'LineString', coordinates: [[-82.441, 29.200], [-82.441, 29.535]] }, properties: { } };
var mapGraphicOptions = { geometry: geoJSON.geometry, feature: geoJSON, shape: 'LineString' };
var mapGraphic = new CoreMapGraphic(graphicOptions);