I am showing Google Map in WebView and I want to display a marker using a local image file (abc.png) as the marker's icon. The codes below are formation of the HTML codes that declares that marker.
I am not able to get the file path correct. Any help would be appreciated.
I am not able to get the file path correct. Any help would be appreciated.
B4X:
s=s+"var test1 = new google.maps.Marker({"
s=s+ "position: new google.maps.LatLng(-37.319, 175.854),"
s=s+ "icon: 'file:///" & File.DirAssets & "/abc.png',"
s=s+ "map: map"
s=s+"});"