Package com.volantis.mcs.googlemaps

Examples of com.volantis.mcs.googlemaps.GoogleCalculator


                    createJavaScriptString(query));
        } else if (!Double.isNaN(latitude)){
           
            double longitude = mapAttributes.getLongitude();

            GoogleCalculator calc = GoogleCalculatorExtended.getInstance();
            GLatLng gLatLng = new GLatLng(latitude, longitude);
            GPoint gPoint = calc.fromLatLngToPixel(gLatLng,
                    GoogleCalculator.INITIAL_ZOOM);
            GImage gImage = calc.fromGPixelToGImage(gPoint);
            initialLocation.append(", longitude: ").append(longitude)
                    .append(", latitude: ").append(latitude)
                    .append(", initialLocation: ")
                    .append(OperationHelper.getInstance()
                    .getMapImagesList(gImage.getImgX(), gImage.getImgY(),
View Full Code Here


        double lat = attr.getLatitude();
        String src = attr.getSrc();
        int minZoom = attr.getMinZoom();
        int maxZoom = attr.getMaxZoom();
       
        GoogleCalculator calc = GoogleCalculatorExtended.getInstance();
        GPoint gPoint = calc.fromLatLngToPixel(new GLatLng(lat, lng), 0);
        GImage gImage = calc.fromGPixelToGImage(gPoint);
       
        StringBuffer textBuffer = new StringBuffer();
       
        textBuffer.append(
                createJavaScriptWidgetRegistrationOpening(
View Full Code Here

TOP

Related Classes of com.volantis.mcs.googlemaps.GoogleCalculator

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.