Package com.lbslocal.cc.objects.v0.common

Examples of com.lbslocal.cc.objects.v0.common.MapInfo


    /* retornar ponto encontrado */
    return point;
  }

  public MapInfo getXYRadiusWithMap(Address address, MapOptions mo, int radius, int idLicenca, int methodID) throws Exception {
    MapInfo mi = new MapInfo();
    try {
      /*
       * chama webMethod getXY para saber a coordenada do endere�o
       * informado
       */
 
View Full Code Here


        response.setCharacterEncoding("UTF-8");
       
        ObjectsHelper[] dependencyObjects = new ObjectsHelper[6];
       
        dependencyObjects[0] = cr.new ObjectsHelper();
        dependencyObjects[0].object = new MapInfo();
        dependencyObjects[0].alias = "MapInfo";
       
        dependencyObjects[1] = cr.new ObjectsHelper();
        dependencyObjects[1].object = new SegmentDescription();
        dependencyObjects[1].alias = "SegmentDescription";
View Full Code Here

  }

  public MapInfo getXYRadiusWithMap(Address address, MapOptions mo, int radius, int idLicenca) throws Exception {
    iniDate = System.currentTimeMillis();

    MapInfo mi = new MapInfo();

    try {
      mi = ca.getXYRadiusWithMap(address, mo, radius, idLicenca, CommonAddress._getXYRadiusWithMap);
      Functions.gravarLogUnique(idLicenca, CommonAddress._getXYRadiusWithMap, 0, iniDate, 0);
    } catch (Exception e) {
View Full Code Here

      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());
      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      rpi = r.getRoute(idLicenca, rs, routeOptions, CommonRoute._getRoute);
     
      ri.setMapInfo(new MapInfo());
      ri.getMapInfo().setExtent(new Extent());
      ri.getMapInfo().getExtent().setXMax(rpi.getMapInfo().getExtent().getXMax());
      ri.getMapInfo().getExtent().setXMin(rpi.getMapInfo().getExtent().getXMin());
      ri.getMapInfo().getExtent().setYMax(rpi.getMapInfo().getExtent().getYMax());
      ri.getMapInfo().getExtent().setYMin(rpi.getMapInfo().getExtent().getYMin());
View Full Code Here

      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());

      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      rpi = r.getRouteWithMap(idLicenca, CommonRoute._getRouteWithMap, rs, routeOptions, mo);

      ri.setMapInfo(new MapInfo());
      ri.getMapInfo().setExtent(new Extent());
      ri.getMapInfo().getExtent().setXMax(rpi.getMapInfo().getExtent().getXMax());
      ri.getMapInfo().getExtent().setXMin(rpi.getMapInfo().getExtent().getXMin());
      ri.getMapInfo().getExtent().setYMax(rpi.getMapInfo().getExtent().getYMax());
      ri.getMapInfo().getExtent().setYMin(rpi.getMapInfo().getExtent().getYMin());
View Full Code Here

  }

  public MapInfo getMap(String routeId, Extent extent, MapOptions mo, int idLicenca) throws Exception {
    iniDate = System.currentTimeMillis();

    MapInfo mi = new MapInfo();
    try {
      mi = commonMap.getMap(routeId, extent, mo, idLicenca, CommonMap._getMap);

      Functions.gravarLogUnique(idLicenca, CommonMap._getMap, 0, iniDate, 0);
    } catch (Exception e) {
View Full Code Here

  }

  public MapInfo getPan(String routeId, int direction, double percNavegation, Extent extent, MapOptions mo, int idLicenca) throws Exception {
    iniDate = System.currentTimeMillis();

    MapInfo mi = new MapInfo();
    try {
      mi = commonMap.getPan(routeId, direction, percNavegation, extent, mo, idLicenca, CommonMap._getPan);
      Functions.gravarLogUnique(idLicenca, CommonMap._getPan, 0, iniDate, 0);
    } catch (Exception e) {
      throw e;
View Full Code Here

  }

  public MapInfo getZoom(String routeId, Extent extent, double percZoom, MapOptions mo, int idLicenca) throws Exception {
    iniDate = System.currentTimeMillis();

    MapInfo mi = new MapInfo();
    try {
      mi = commonMap.getZoom(routeId, extent, percZoom, mo, idLicenca, CommonMap._getZoom);
      Functions.gravarLogUnique(idLicenca, CommonMap._getZoom, 0, iniDate, 0);
    } catch (Exception e) {
      throw e;
View Full Code Here

  }

  public MapInfo getZoomRadius(String routeId, Point point, int radius, MapOptions mo, int idLicenca, String mapType) throws Exception {
    iniDate = System.currentTimeMillis();

    MapInfo mi = new MapInfo();
    try {
      mi = commonMap.getZoomRadius(routeId, point, radius, mo, idLicenca, CommonMap._getZoomRadius, mapType);
      Functions.gravarLogUnique(idLicenca, CommonMap._getZoomRadius, 0, iniDate, 0);
    } catch (Exception e) {
      throw e;
View Full Code Here

  }

  public MapInfo getZoomWindow(String routeId, Extent oldExtent, Extent newExtentInPixels, MapOptions mo, int idLicenca) throws Exception {
    iniDate = System.currentTimeMillis();

    MapInfo mi = new MapInfo();
    try {
      mi = commonMap.getZoomWindow(routeId, oldExtent, newExtentInPixels, mo, idLicenca, CommonMap._getZoomWindow);
      Functions.gravarLogUnique(idLicenca, CommonMap._getZoomWindow, 0, iniDate, 0);
    } catch (Exception e) {
      throw e;
View Full Code Here

TOP

Related Classes of com.lbslocal.cc.objects.v0.common.MapInfo

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.