Package org.gwtopenmaps.openlayers.client.control

Examples of org.gwtopenmaps.openlayers.client.control.ScaleLine


        map.addLayer(vectorLayer);
        map.addLayer(markerLayer);

        map.addControl(new LayerSwitcher());
        map.addControl(new ScaleLine());
        map.setCenter(createLonLat(12.5, 41.9), 1);

        contentPanel.add(mapWidget);

        // Update map size
View Full Code Here


                vectorLayer = new Vector("Fence");
                map.addLayer(vectorLayer);
                markers = new Markers("Markers");
                map.addLayer(markers);
                map.addControl(new OverviewMap());
                map.addControl(new ScaleLine());

                ModifyFeatureOptions featureOptions = new ModifyFeatureOptions();
                featureOptions.setMode(ModifyFeature.RESIZE);
                featureOptions.onModificationEnd(new ModifyFeature.OnModificationEndListener() {
                    @Override
View Full Code Here

        vectorLayer = new Vector("Fence");
        map.addLayer(vectorLayer);
        markers = new Markers("Markers");
        map.addLayer(markers);
        map.addControl(new OverviewMap());
        map.addControl(new ScaleLine());

        ModifyFeatureOptions featureOptions = new ModifyFeatureOptions();
        featureOptions.setMode(ModifyFeature.RESIZE);
        featureOptions.onModificationEnd(new ModifyFeature.OnModificationEndListener() {
          @Override
View Full Code Here

TOP

Related Classes of org.gwtopenmaps.openlayers.client.control.ScaleLine

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.