android - Custom Info Window Adapter and 2 other issues -
so searching solution , bumped the code answer on stackoverflow
i getting error here:
googlemap.setinfowindowadapter(new custominfowindowadapter( gpstracker.this));
saying cannot resolved type.
also share
cannot resolved variable
private void getcurrentlocation() { double[] d = getlocation(); share.lat = d[0]; share.lng = d[1]; googlemap.addmarker(new markeroptions().position(new latlng(share.lat, share.lng)).title("current location").icon(bitmapdescriptorfactory.fromresource(r.drawable.red)));
i couldn't solution custominfowindowadapter
, not understand share
stands for.
any in understanding , solving issue appreciated. thank time.
Comments
Post a Comment