Creating markers through a local geojson file

时间:2018-12-03 12:53:14

标签: java android google-maps geojson

This is a very basic question but i am not sure how to implement the code to obtain the data from a geojson file for my Android project.

I already created the file and modified the dependencies but i dont know how to proceed after i inserted the code provided by Google Developers. Is there a certain place in my Java file to put down the code line and i dont really know what to put into the brackets.

For now i just want to execute the basic functionality to create markers with the file.

GeoJsonLayer myLayer = new GeoJsonLayer(getMap(?), R.raw.myFile,
getApplicationContext(?));

layer.addLayerToMap(?);

0 个答案:

没有答案