jordoncm / earth-api-samples

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

Allow enable/disable of specific pieces in LAYER_BORDERS #642

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What should this feature enhancement do?
Give developers a finer tuned api for displaying/hiding components of 
LAYER_BORDERS. Specifically, allow developers to independently enable/disable 
International Borders, Country Names, Coastlines, 1st Level Admin Borders, 1st 
Level Admin Names, 2nd Level Admin Regions as found in Google Earth Desktop 
App. For my particular project I want to show ONLY country borders and state 
borders without labels, county borders etc. 

Are there any known workarounds that produce the similar results?
Current workaround is to either include the entire LAYER_BORDERS, which 
contains too much information and distracts from any point of interest - not 
acceptable. Next workaround is to load in a kml overlay of state and country 
borders. This causes dramatic losses in performance of viewchange animations - 
not acceptable.

Original issue reported on code.google.com by SLRos...@gmail.com on 17 Jun 2011 at 10:21

GoogleCodeExporter commented 8 years ago
Please increase granularity, sometimes it is only useful to show borders or 
country names.

Original comment by dar.cons...@gmail.com on 20 Oct 2011 at 6:20

GoogleCodeExporter commented 8 years ago
Seconded. As the COM API for the destop GE is being phased out, and the API for 
the plugin seems to be the only (and better) supported one, it should include 
all features of desktop variant. Better fine-tuning of the "Borders" layer 
(omitting borders, or displaying *only* borders) is sorely missed indeed.  

Original comment by ficedula...@yahoo.de on 13 Apr 2012 at 7:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I want to show ONLY country borders and state borders without labels, county 
name etc.
plz tell me any solution for my request that exactly I want google earth api 
for my website 

Original comment by rsrohits...@gmail.com on 16 Nov 2012 at 6:59

GoogleCodeExporter commented 8 years ago
I want to show ONLY country borders and state borders without labels, county 
name etc.
plz tell me any solution for my request that exactly I want google earth api 
for my website 

Original comment by rsrohits...@gmail.com on 16 Nov 2012 at 7:42

GoogleCodeExporter commented 8 years ago
I ended up creating a KMZ file with the borders (in fact I needed special 
borders, as I want to show only some business-related areas rather than the 
political borders) and one with the country names, importing them to the ge as 
separate objects, and then disabling and enabling the visibility is just about 
using setVisibility in your kmlObject.

Original comment by dariocon...@gmail.com on 16 Nov 2012 at 7:46