I can't get my custom map type to wrap correctly. I have this method
for fetching tiles:
LiveMapType.prototype.getTile = function(coord, zoom,
ownerDocument){
var div = ownerDocument.createElement('DIV');
div.innerHTML = '<img src="images/MapTiles/'+zoom + '/' +
coord.x + '/' + (Math.pow(2,zoom)-coord.y-1)+'.png" />'
div.style.width = this.tileSize.width + 'px';
div.style.height = this.tileSize.height + 'px';
return div;
};
How can I get the tiles to repeat along the x axis?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.