android - Unable to add marker, for such LatLngs -
i using next code add together markers on google map, using google-maps-android-v2
ll = new latlng(lat, lng); marker = map.addmarker(new markeroptions() .position(ll) .title("title") .icon(bitmapdescriptorfactory .defaultmarker(bitmapdescriptorfactory.hue_red)));
the problem is, markers not added values like
(18.5087013, 73.8125)
for values like
(18.59672737121582,73.76543426513672)
the marker added.
any rules(precision) values of lat , lng build latlng
??
just alter in position:- ll = new latlng(lat*1e6, lng*1e6);
android google-maps-android-api-2
No comments:
Post a Comment