Package com.game.cloudymon.entity

Examples of com.game.cloudymon.entity.RouteMap


    double min = Double.MAX_VALUE;
    int minIdx = 0;
   
    for (int i = 0; i < len; i++)
    {
      RouteMap rm = routeMaps.get(i);
      double dis = Utils.distance2Location(lat, lng, rm.lat, rm.lng, "K");
     
      if (dis < min)
      {
        min = dis;
View Full Code Here


    try
    {
      Double lat = jsonObj.getDouble("lat");
      Double lng = jsonObj.getDouble("lng");
     
      RouteMap routeMap = PlayBean.getRouteMapByLatLng(lat, lng);
     
      returnVal(resp, routeMap.toJSON());
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
View Full Code Here

  {
    String name = req.getParameter("name");
    if (name == null || name.isEmpty())
      return;
   
    RouteMap routeMap = new RouteMap();
    routeMap.name = name;
    routeMap.lat = Double.parseDouble(req.getParameter("lat"));
    routeMap.lng = Double.parseDouble(req.getParameter("lng"));
    routeMap.radius = Double.parseDouble(req.getParameter("radius"));
    routeMap.mapBlockWidth = Long.parseLong(req.getParameter("mapBlockWidth"));
View Full Code Here

TOP

Related Classes of com.game.cloudymon.entity.RouteMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.