I am developing an android application where I have place image tiles on Google map in android.
I can do with simple javascript but can anyone tell how I do this in android.Here is my JavaScript code.
function initialize() {
var center = new google.maps.LatLng(37.4419, -122.1419);
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 3,
center: center,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
var globalfoovar = new google.maps.ImageMapType({
getTileUrl: function(tile, zoom) {
return "http://demoserver.com";
},
tileSize: new google.maps.Size(256, 256),
opacity:0.60,
isPng: true
});
map.overlayMapTypes.push(null); // create empty overlay entry
map.overlayMapTypes.setAt("0",globalfoovar); // set the overlay, 0 index
Can any translate the above to android Google map.
Thanks in android
Altaf