google-code-export / earth-api-samples

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

Option to disable automatic placemark label and icon scaling #224

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What should this feature enhancement do? Labels and icons are 
automatically scaled, so that they are visible from great distances, and 
not enormous close up. However, steep terrain can cause this feature to 
perform erratically. Also, it is not unreasonable to have labels and icons 
disappear at a distance. We need to be able to globally disable this 
feature or have a style for relative and absolute scaling.

Are there any known workarounds that produce the similar results? No

Original issue reported on code.google.com by dohay...@gmail.com on 16 Apr 2009 at 9:39

GoogleCodeExporter commented 9 years ago
I need something similar to this idea, but not sure if it's exactly the same.
Consider the ruler tool in the Earth desktop: It has red and green squares 
marking
the endpoints. These squares behave a lot like placemark icons, but they remain 
a
fixed pixel size regardless of the zoom level.

I can implement most of the ruler using the Earth API, but I don't see a good 
way to
get those fixed size endpoint squares. I could use screen overlays instead of
placemark icons, but the placemark has the nice quality that it tracks the 
globe if
you rotate it. I can make a screen overlay do that too, but it will lag behind 
and
won't look that good.

Actually, the ideal thing would be if I could have a placemark icon that had a 
fixed
pixel size and also had the option to keep or turn off the "size bounce" that 
happens
when the mouse rolls over it.

Is this the same feature request or should I file a separate one? :-)

Original comment by mike%gea...@gtempaccount.com on 8 Jun 2009 at 10:23

GoogleCodeExporter commented 9 years ago
Just to clarify, placemark icons work more or less OK for those red and green
endpoint squares, but their size changes if you zoom in or out - I can't make 
them a
fixed pixel size.

Original comment by mike%gea...@gtempaccount.com on 8 Jun 2009 at 10:27