当前位置: 首页>>代码示例>>Java>>正文


Java BoundingXYVisitor类代码示例

本文整理汇总了Java中org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor的典型用法代码示例。如果您正苦于以下问题:Java BoundingXYVisitor类的具体用法?Java BoundingXYVisitor怎么用?Java BoundingXYVisitor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BoundingXYVisitor类属于org.openstreetmap.josm.data.osm.visitor包,在下文中一共展示了BoundingXYVisitor类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: zoomTo

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
/**
 * Focus the map on a specific OSM primitive
 *
 * @param primitive
 *            The primitive to zoom to
 */
private void zoomTo(final OsmPrimitive primitive) {
    if (primitive == null) {
        return;
    }
    if (primitive instanceof Node) {
        MainApplication.getMap().mapView.zoomTo(((Node) primitive).getCoor());
        return;
    }
    final BoundingXYVisitor v = new BoundingXYVisitor();
    v.visit((Way) primitive);
    MainApplication.getMap().mapView.zoomTo(v.getBounds());
}
 
开发者ID:JOSM,项目名称:geojson,代码行数:19,代码来源:GeoJsonDialog.java

示例2: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(final BoundingXYVisitor v) {
    v.visit(this.bounds);
}
 
开发者ID:JOSM,项目名称:geojson,代码行数:5,代码来源:GeoJsonLayer.java

示例3: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(final BoundingXYVisitor arg0) {
    // not supported
}
 
开发者ID:Telenav,项目名称:scoutsigns,代码行数:5,代码来源:ScoutSignsLayer.java

示例4: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(final BoundingXYVisitor visitor) {
    // this operation is not supported
}
 
开发者ID:Telenav,项目名称:improve-osm-plugin,代码行数:5,代码来源:AbstractLayer.java

示例5: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(BoundingXYVisitor v) {
	// TODO Auto-generated method stub
	
}
 
开发者ID:ztmtoosm,项目名称:easy-routes,代码行数:6,代码来源:DiffLayer.java

示例6: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(BoundingXYVisitor v) {}
 
开发者ID:iandees,项目名称:josm-notes,代码行数:3,代码来源:NotesLayer.java

示例7: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(BoundingXYVisitor v) {
	v.visit(bounds);
}
 
开发者ID:iandees,项目名称:josm-geojson,代码行数:5,代码来源:GeoJsonLayer.java

示例8: visitBoundingBox

import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; //导入依赖的package包/类
@Override
public void visitBoundingBox(BoundingXYVisitor v) {

}
 
开发者ID:ztmtoosm,项目名称:easy-routes,代码行数:5,代码来源:RoutingLayer.java


注:本文中的org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。