Package aimax.osm.viewer.EntityIcon

Examples of aimax.osm.viewer.EntityIcon.PinIcon


    addBuildingRules(result, "amenity", null, createPoiInfo(1f/12000, 1f/1800, 89, Color.BLUE, createRectangle(4, Color.BLUE), true));
    addBuildingRules(result, "shop", null,    createPoiInfo(40000, 1f/1800, 89, Color.CYAN, createRectangle(4, Color.CYAN), true));
    result.addRule("building", "yes", createWayInfo(1f/6000, 1f/1800, 89, LIGHT_RED, 1, LIGHT_RED, false));
    result.addRule("addr:housenumber", null, createPoiInfo(1f/1800, 1f/1800, 90, Color.GRAY, createRectangle(4, Color.LIGHT_GRAY), true));
   
    result.addRule("marker", "yes", createPoiInfo(1e-9f, 1e-9f, 0, Color.RED, new PinIcon(12, Color.RED, Color.RED), false));
    result.addRule("track_type", "GPS", createTrackInfo(Color.GREEN));
    result.addRule("track_type", null, createTrackInfo(Color.RED));
   
    return result;
  }
View Full Code Here


    result.replaceRule("place", "city", createPoiInfo(1e-9f, 1f/3500000, 30, Color.WHITE, null, false));
    result.replaceRule("place", "town", createPoiInfo(1e-9f, 1f/350000, 29, Color.WHITE, null, false));
    result.replaceRule("place", "village", createPoiInfo(1e-9f, 1f/100000, 29, Color.GRAY, null, false));
    result.replaceRule("place", null, createPoiInfo(1e-9f, 1f/35000, 28, Color.GRAY, null, false));
      
    result.replaceRule("marker", "yes", createPoiInfo(1e-9f, 1e-9f, 0, Color.YELLOW, new PinIcon(12, Color.YELLOW, Color.YELLOW), false));
    result.replaceRule("track_type", null, createTrackInfo(Color.WHITE));

    return result;
  }
View Full Code Here

TOP

Related Classes of aimax.osm.viewer.EntityIcon.PinIcon

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.