AnsweredAssumed Answered

Draw lines over displayed shapefile

Question asked by bzburr on Jun 9, 2015
Latest reply on Jun 11, 2015 by bzburr

Hi there


I have a basic Android app displaying a shape file of Australia.(shape file is hosted on the device)

I'd like to be able to draw a bunch of lines over the shape file.


ive tried the likes of




SimpleLineSymbol lineSymbol = new SimpleLineSymbol(Color.GREEN, 3, SimpleLineSymbol.STYLE.DASH);

     Polyline lineGeometry = new Polyline();

     lineGeometry.startPath(-24.862740, 151.990229);

     lineGeometry.lineTo(-28.088650, 152.643034);

     lineGeometry.lineTo(-24.520863, 150.836665);



     final Graphic lineGraphic = new Graphic(lineGeometry, lineSymbol);




but nothing shows up over the shape file.....


Can someone point me in the correct direction as to what exactly i need to do?