Image Overlay
I am wanting to put a logo at the bottom of the corner of the map. The
map is 740X400 image roughly 120X125. I have custom icon already in the
Gicon area.. I havent been able to make the other appear.
// Create our "tiny" marker icon
var icon = new GIcon();
icon.image = "shovel_dig_pin.png";
icon.shadow =
"http://labs.google.com/ridefinder/images/mm_20_shadow.png";
icon.iconSize = new GSize(100, 100);
icon.shadowSize = new GSize(100, 100);
icon.iconAnchor = new GPoint(0, 0);
icon.infoWindowAnchor = new GPoint(65, 73);
var marker = new GMarker(point,icon);
map.addOverlay(marker);
0 Comments:
Yorum Gönder
<< Home