sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
610 B

define([
"dojo/_base/declare",
"./Geometry"
], function(declare, Geometry){
return declare("dojox.geo.openlayers.Point", Geometry, {
// summary:
// A Point geometry handles description of points to be rendered in a GfxLayer
setPoint: function(p){
// summary:
// Sets the point for this geometry.
// p: Object
// The point geometry expressed as a {x, y} object.
this.coordinates = p;
},
getPoint: function(){
// summary:
// Gets the point defining this geometry.
// returns:
// The point defining this geometry.
return this.coordinates; // Object
}
});
});