hi guys i am trying to add a point on the map but it's not working. and i got no errors as well,
[PHP] public SimpleMarkerSymbol PointMarker()
{
return new SimpleMarkerSymbol(Color.GREEN, 35, SimpleMarkerSymbol.STYLE.DIAMOND);
}[/PHP]
this is the point symbol
and below my main function
[PHP]public void addthepoint()
{
map = ((MapView)findViewById(R.id.map));
this.pointLayer.removeAll();
this.pointLayer = new GraphicsLayer();
this.map.addLayer(this.pointLayer);
// HashMap localHashMap = new HashMap();
// localHashMap.put("name", "ENja");
double lat = Double.parseDouble("**.8854587");
double lon = Double.parseDouble("**.2812024");
mapPnt = new Point(lon, lat);
Graphic graphic = new Graphic(mapPnt, PointMarker());
pointLayer.addGraphic(graphic);
}[/PHP]