I have a map loaded in my Mapview called mMapview.and here is what i didPoint p1=new Point(66.9969,6.65428); //i took this coordinate from my gps device for demonstration Point p2=(Point) GeometryEngine .project(p1, SpatialReference.create(4326), mMapView.getSpatialReference()); Graphic graphic = new Graphic(p2, new SimpleMarkerSymbol(Color.RED, 10, SimpleMarkerSymbol.STYLE.DIAMOND)); mGraphicsLayer.addGraphic(graphic);//mGraphicsLayer is my graphic layer on my map viewwhen i run my program the marker was not there on my mMapview.but when i changed the statment mMapView.getSpatialReference() with SpatialReference.create(32637) the marker appeared in exactly the right possesion i wanted it to be,so my Question is why this is happening?I checked my mMapview spatial reference id and latestid and and it is 102100and 3857 recpectively
أكثر...
أكثر...