lucianarodrig19 / geoxml3

Automatically exported from code.google.com/p/geoxml3
0 stars 0 forks source link

Problems when using sprites (palette) - kmz branch #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a kml/kmz file that uses sprites for icons

What is the expected output? What do you see instead?
Expect to see all markers with correct icons. Don't.

What version of the product are you using? On what operating system?
Using the kmz branch with its enhanced support for styles (and kmz but could 
always unzip kmz to kml and update image urls)
Firefox 11 (and IE9) on Windows 7

Please provide any additional information below.
See comment 55 to issue 53. Suspect mismatch between kml spec and Maps API as 
to point of origin for y axis

Attaching zipped up sample including sample kmz and sprite image. Should see 3 
markers using various sprites from the included image file. Instead see only 
one which uses a push pin, the other 2 are invisible. 
(The one incorrect push-pin marker is a separate issue - not concerned about 
that one right now, also not concerned that image file included in kmz not 
working - need to have copy of it on local server, that might be a known 
limitation). 

Note that the included kmz file is a portion of a rather old sample I had and 
was not produced by me. I had to update it to use the gx namespace and there 
could perhaps be something else incorrect (though it looks correct in Earth)

Original issue reported on code.google.com by slubow...@gmail.com on 22 Mar 2012 at 3:17

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hacked in a proof that it does indeed seem that Y value needs to be inverted 
for maps. Swap the attached patched file for the one included in the zip above 
and the markers from the included kmz file appear (at least the 2 that were 
invisible, other is still wrong but not related issue).

Original comment by slubow...@gmail.com on 22 Mar 2012 at 4:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by geocodezip on 22 Mar 2012 at 5:48

GoogleCodeExporter commented 9 years ago
Example showing the issue with the svn version of geoxml3.js:
http://www.geocodezip.com/geoxml3_test/palette/Simple_svn_kmz.html

With the provided proof of concept version of geoxml3.js:
http://www.geocodezip.com/geoxml3_test/palette/Simple_working_kmz.html

Original comment by geocodezip on 22 Mar 2012 at 12:38

GoogleCodeExporter commented 9 years ago
Another proof of concept fixing the last marker that incorrectly shows up using 
a push pin. Seems partial inline style (balloon) blows away icon style that is 
supposed to be coming from a styleUrl. 

Assuming this is supported by the spec. Works in Earth (and now here)

Original comment by slubow...@gmail.com on 22 Mar 2012 at 2:09

Attachments:

GoogleCodeExporter commented 9 years ago
May be related:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=4359

Original comment by geocodezip on 16 Aug 2012 at 6:07

GoogleCodeExporter commented 9 years ago
fix issue with marker sprites (revision 122, kmz branch)
test pages:
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmztest_linktoB.html?filename=
http://www.geocodezip.com/geoxml3_test/palette/4_tracks_scale.kmz

http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmztest_linktoB.html?filename=
http://www.geocodezip.com/geoxml3_test/palette/4_tracks.kmz

Original comment by geocodezip on 25 Dec 2014 at 2:23