Hello all,
This is the piece of code to create markers.
// get school icon
function getSchoolIcon(school_icon) {
var icon = new GIcon();
icon.image = "Icons/" + school_icon + ".gif";
icon.iconAnchor = new GPoint(16, 16);
icon.infoWindowAnchor = new GPoint(16, 0);
icon.iconSize = new GSize(20, 20);
icon.shadowSize = new GSize(30, 20);
//icon.transparent = "http://www.google.com/intl/en_uk/
mapfiles/markerB.png";
icon.printImage = "http://www.google.com/intl/en_uk/mapfiles/
markerBie.gif"; // this is only for testing. - but that does not
give me the result I want.
icon.mozPrintImage = "http://www.google.com/intl/en_uk/
mapfiles/markerBff.gif";
return icon;
}
=========================
I used GIF but the print out always be markers with white bounding box
sound the marker. I want get ride of the white background box.
Also this bring another issue. I am using arcgis service as GIF image
on top of google map. But when I printout the map, google map under
the arcgis service was grayed out (not display).
Is this a know issue for the marker print out problem? From arcgis
javascript extension for gogle map: "Note that, only the png and gif
formats support transparency and Internet Explorer 6 does not display
transparency correctly for png24 image format". GIF for display is ok.
But will the print out be ok with GIF?
I am using IE6.
Thank you very much for any help.
CIndy
===============
On Mar 16, 8:57 pm, Mike Williams <[email protected]> wrote:
> Wasn't it Cindy who wrote:
>
> > icon.mozPrintImage = "Ihttp://www.google.com/intl/en_uk/
> >mapfiles/markerBff.gif";
>
> If that typo is in your actual code, rather than just added in the
> email, it could explain everything. Try changing "Ihttp:" to "http:".
>
> If you'd followed the posting guidelines, then anyone could have spotted
> that, rather than just people that you'd emailed your code to.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---