I've solved it. iUI can't show the default symbol.
When I changed the symbol to for example
var sym = new
esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE,
12, esri.symbol.SimpleLineSymbol(), new dojo.Color("red") );
map.graphics.add(new
esri.Graphic(esri.geometry.geographicToWebMercator(pt), sym, ...
the marker will be displayed.
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/iphonewebdev/-/7nzrJLv54VkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.