Kazu46Machi / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

16-bit pngs are not appearing #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load a kml that has a 16-bit png (either as a ground overlay or an 
placemark icon)

What is the expected output or behavior? What do you see instead?
There's a big red X, instead of the png.

Which plugin version are you using?

Which browsers and operating systems are affected?
IE, Windows
I'm told it actually crashes Macs

Please provide any additional information (code snippets/links) below.
I hear that 8-bit pngs work

Original issue reported on code.google.com by icewoma...@gmail.com on 10 Dec 2008 at 7:51

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 10 Dec 2008 at 8:59

GoogleCodeExporter commented 8 years ago
Just as an FYI for the google developers. Our Server is reporting the URI for 
the 
request as follows:
'/https%3A/server_name%3A12344/icons/my_icon.png'

The supplied marker.icon.image URI is as follows:
https://server_name:12344/icons/my_icon.png

I'm running Windows XP SP3
Have tested, with same results in FF3, IE7

Example Code
------------

var marker = new GMarker(
  new GLatLng(my_object.loc.lat, my_object.loc.lon),
  {
    title:     my_object.name,
    draggable: true
  }
);

marker.getIcon().image = "https://server_name:12344/icons/my_icon.png";

my_gmap.addOverlay(marker);

Original comment by jordan.h...@gmail.com on 30 Dec 2008 at 3:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I would like to add my voice to this. 
It also fails in IE with 32-bit PNG files as per the attached page. I would 
request
the priority be raised to HIGH as I am unable to publish my app and don't have a
work-around.

Original comment by gpsanima...@gmail.com on 1 Jan 2009 at 10:14

Attachments:

GoogleCodeExporter commented 8 years ago
Hi, we're working on a fix; a workaround is to convert your PNG's to 8-bit 
channels.

Original comment by api.roman.public@gmail.com on 5 Jan 2009 at 4:44

GoogleCodeExporter commented 8 years ago
Fixed as of 5.0.11655.6079

See the release notes, new Google Earth Plugin 5.0 samples, and updated v1.002 
API
reference for more details.

http://code.google.com/apis/earth/documentation/releasenotes.html#2009-03-31
http://code.google.com/apis/earth/documentation/demogallery.html?topic=fiveoh
http://code.google.com/apis/earth/documentation/reference/index.html

Original comment by api.roman.public@gmail.com on 2 Apr 2009 at 12:00