android - GeoJSON coordinates -


i need put markers on android map. receiving json string webservice use geojson. parse it, coordinate system not traditional, , don't know how put markers on map.

this example using:

 double latitude = 5441638.1188548915 // value came ws  double longitude = 6352789.023657421 // value came ws         map.addmarker(new markeroptions()             .title(jsonobj.getstring("restaurants"))             .position(new latlng(                     latitude,                     longitude              ))         ); 

what want know if there method convert coordinates classic system (ex: -30.5645, -50.2328) , or android method work other system of coordinates. hope can me, thanks!

i've put answer, regrettably it's not complete one.

your position not lat/lon eastings , northings. conversion process quite complex. in actuality webservice should stating coordinate reference system (crs) using geojson default wgs84

you should see if can webservice supply "proper" coordinates instead.


Comments