!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/gmaps/test/spec/   drwxrwxr-x
Free 13.22 GB of 57.97 GB (22.8%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     RouteSpec.js (1.65 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var map_with_routes, route, routes;

describe("Drawing a route", function() {
  beforeEach(function() {
    map_with_routes = map_with_routes || new GMaps({
      el : '#map-with-routes',
      lat : -12.0433,
      lng : -77.0283,
      zoom : 12
    });
  });

  it("should add a line in the current map", function(done) {
    var route_flag;

    map_with_routes.drawRoute({
      origin: [-12.044012922866312, -77.02470665341184],
      destination: [-12.090814532191756, -77.02271108990476],
      travelMode: 'driving',
      strokeColor: '#131540',
      strokeOpacity: 0.6,
      strokeWeight: 6,
      callback: function() {
        expect(map_with_routes.polylines.length).toEqual(1);
        expect(map_with_routes.polylines[0].get('strokeColor')).toEqual('#131540');
        expect(map_with_routes.polylines[0].get('strokeOpacity')).toEqual(0.6);
        expect(map_with_routes.polylines[0].getMap()).toEqual(map_with_routes.map);
        done()
      }
    });
  });
});

describe("Getting routes", function() {
  beforeEach(function() {
    map_with_routes = map_with_routes || new GMaps({
      el : '#map-with-routes',
      lat : -12.0433,
      lng : -77.0283,
      zoom : 12
    });
  });

  it("should return an array of routes", function(done) {
    map_with_routes.getRoutes({
      origin: "grand central station, new york, ny",
      destination: "350 5th Ave, New York, NY, 10118",
      callback: function(routes) {
        expect(routes).toBeDefined();

        if (routes.length > 0) {
          expect(routes[0].legs[0].distance).toBeDefined();
          expect(routes[0].legs[0].duration).toBeDefined();
        }

        done();
      }
    });
  });
});

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0046 ]--