How to add image to information windows in Google Maps Api v3 android -
i wanna know how add image inside of information box event google maps markers.
hello, guys! need how add image inside of information box event shows when click in marker.
public void onmapready(googlemap googlemap) { mmap = googlemap; mmap.setmaptype(googlemap.map_type_hybrid); if (android.os.build.version.sdk_int >= build.version_codes.m) { if (contextcompat.checkselfpermission(this, manifest.permission.access_fine_location) == packagemanager.permission_granted) { buildgoogleapiclient(); mmap.setmylocationenabled(true); } } else { buildgoogleapiclient(); mmap.setmylocationenabled(true); } //parking 1 central park rua arlindo colaço - sm 216 latlng est1 = new latlng(-23.492668, -46.4419270); mmap.addmarker(new markeroptions().position(est1).title("central park").snippet("rua arlindo colaço, 216"));
this peace of code adding 1 marker google maps in android project , shows information "central park" title , "rua arlingo colaço, 216" line of text.
all have customize info window.please have @ : custom info window google maps android
Comments
Post a Comment