var graphic = new esri.Graphic(new esri.geometry.Point(point), symbol); app.map.graphics.add(graphic);
var displayText = "Sample TextLabel"; var font = new esri.symbol.Font("6pt", esri.symbol.Font.STYLE_NORMAL, esri.symbol.Font.VARIANT_NORMAL, esri.symbol.Font.WEIGHT_BOLD, "Helvetica"); var textSymbol = new esri.symbol.TextSymbol(displayText, font, new dojo._base.Color("#000000")); textSymbol.setOffset(4,8); var graphic11 = new esri.Graphic(new esri.geometry.Point(point), textSymbol); app.map.graphics.add(graphic11);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.