Garthanos / geoxml

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

Complex polygons don't shade #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have several KML files which I have generated from airspace map
information. Some of the airspace described is 3D (i.e. has a top, bottom,
and sides). I make the top and bottom using conventional polygons, and then
use (sometimes many) vertical rectangular polygons to make the sides. (KMZ
file attached as an example).

These display correctly as shaded polygons in Google Earth, but displaying
them on a web page via Google Maps API results in some polygons being
shaded, and others not.

I took a set of vertical polygons out of the KML file, and the polygon
displays fine in Google maps.

Using the latest Google Maps V2 API, and GeoXML.

Original issue reported on code.google.com by frank.jo...@gmail.com on 22 Jul 2009 at 2:56

Attachments:

GoogleCodeExporter commented 9 years ago
As this third party GeoXml parsing class doesnt parse kmz's
 it has me wondering if you are talking about the native API 
GGeoXml overlay class.

I was able to display your polygons it looked to me that all had translucent 
fills...
(some of them very feint fills especially when the mouse was over them)  

Original comment by lanceala...@gmail.com on 17 Sep 2009 at 8:58

GoogleCodeExporter commented 9 years ago
I will be marking this as invalid unless further information is available.

Original comment by lanceala...@gmail.com on 18 Sep 2009 at 5:08

GoogleCodeExporter commented 9 years ago
Sorry for the confusion... I converted the KML to KMZ before uploading here. 
The KML
files are available at http://flightplan.netau.net/live/Airspace/

Yes, I use translucent fills (about 10-20% opacity) because I want to be able 
to see
lines, other airspace, and the ground through them.

It's been a while since I last looked at this... I'll have to get back to you.

Original comment by frank.jo...@gmail.com on 18 Sep 2009 at 8:58

GoogleCodeExporter commented 9 years ago
Do you have a page demonstrating the problem? The General Aviation Areas one I 
tried
seemed to work as expected.

Original comment by lanceala...@gmail.com on 19 Sep 2009 at 10:13

GoogleCodeExporter commented 9 years ago
here is one method I quick test 

http://www.microimages.com/ogc/newtntmap/gmap.htm?kml=http://flightplan.netau.ne
t/live/Airspace/General_Aviation_Areas.kml

Original comment by lanceala...@gmail.com on 19 Sep 2009 at 12:02

GoogleCodeExporter commented 9 years ago
closing this as all tests indicate well it works for me.

Original comment by lanceala...@gmail.com on 10 Feb 2010 at 9:31