This demo shows how to customize icons and graphics on a FeatureLayer.
Each bus stop is symbolzied with a custom icon representing the direction the bus is traveling and a popup.