public class ServerVector extends StaticVector
counter, JS_GLOBAL, objectIds| Constructor and Description | 
|---|
| ServerVector(Feature format,
            Loader loader,
            Projection projection)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServerVector | format(Feature format)Sets the format for the features. | 
| Feature | getFormat()Returns the format for the features. | 
| String | getJsType()Returns a String with the type of Javascript object that this object represents. | 
| Loader | getLoader()Returns the loader used to fetch remote data. | 
| ServerVector | loader(Loader loader)Sets the loader used to fetch remote data. | 
| ServerVector | projection(Projection projection)Sets the projection used to transform the data. | 
| String | renderJs()Returns a String with containing the rendered Javascript code for this object. | 
| void | setFormat(Feature format)Sets the format for the features. | 
| void | setLoader(Loader loader)Sets the loader used to fetch remote data. | 
getProjection, setProjectionescapeQuoteJs, getJsId, getJsIdWithSuffixpublic ServerVector(Feature format, Loader loader, Projection projection)
format - Format for the feature dataloader - Loader for fetching remote dataprojection - Projection for transforming loaded datapublic Feature getFormat()
public void setFormat(Feature format)
format - New valuepublic ServerVector format(Feature format)
format - New valuepublic Loader getLoader()
public void setLoader(Loader loader)
loader - New valuepublic ServerVector loader(Loader loader)
loader - New valuepublic ServerVector projection(Projection projection)
StaticVectorprojection in class StaticVectorprojection - New valuepublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class Sourcepublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class SourceCopyright © 2015. All rights reserved.