Class MapPlotService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.MapPlotService
- Direct Known Subclasses:
DispatchRouteMapService
,RoutePlotMapService
,RoutePlotService
An abstract Web Service to store common map plotting code.
- Since:
- 2.3
- Version:
- 11.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.json.JSONObject
formatPoints
(List<NavigationDataBean> points) Converts route points into a JSON object.boolean
isLogged()
Returns whether this web service calls are logged.
-
Constructor Details
-
MapPlotService
public MapPlotService()
-
-
Method Details
-
formatPoints
Converts route points into a JSON object.- Parameters:
points
- a List of MapEntry beans- Returns:
- a JSONObject
-
isLogged
public boolean isLogged()Description copied from class:WebService
Returns whether this web service calls are logged. High volume services like the Map/ServInfo route services will not be logged.- Overrides:
isLogged
in classWebService
- Returns:
- TRUE if invocation logging should be performed by the servlet, otherwise FALSE
-