Documenting the featureDx, xOffset and rightOfDateLine member variables.
This commit is contained in:
@@ -73,6 +73,17 @@ OpenLayers.Renderer = OpenLayers.Class({
|
||||
*/
|
||||
map: null,
|
||||
|
||||
/**
|
||||
* Property: featureDx
|
||||
* {Number} Feature offset in x direction. Will be calculated for and
|
||||
* applied to the current feature while rendering. Looking at the center of
|
||||
* the feature bounds and the renderer extent, we calculate how many world
|
||||
* widths the two are away from each other. This value is used to shift the
|
||||
* feature as close as possible to the center of the current renderer
|
||||
* extent. This ensures that the feature is visible in the current
|
||||
* viewport.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constructor: OpenLayers.Renderer
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user