missioncommand / mil-sym-java

(RETIRED) MIL-STD-2525 B and C rendering library and web service
Apache License 2.0
67 stars 36 forks source link

removed hotSpot element to center icon over its location #61

Closed andraje closed 7 years ago

andraje commented 7 years ago

After fixing the capitalization error (hotspot vs hotSpot), we saw kml icons being displayed way out into space. We decided that we preferred having the icons centered over its location and removed the hotSpot element. The kmls now look like they used to before the capitalization fix, when the renderers simply ignored the incorrectly capitalized hotspot.

michael-spinelli commented 7 years ago

What map are you using?

andraje commented 7 years ago

google earth

michael-spinelli commented 7 years ago

I tried on a coworker's machine who still has google earth installed. We didn't see that issue. Does this always happen or just in some cases? Can you send me the url you entered to get the kml that caused the issue? capture

andraje commented 7 years ago

It always happens. How far away the icon appears from the surface might be related to the icon size. We are using a 320 x 320 pixel icon and we get <hotSpot x="165.0" xunits="pixels" y="382.0" yunits=insetPixels" />

michael-spinelli commented 7 years ago

can you post the full kml from one of these cases?

michael-spinelli commented 7 years ago

Still not seeing it. capture2

bevins2 commented 7 years ago

Ask them the version of google earth and browser.

Sent from my iPhone

On Mar 8, 2017, at 10:36 AM, Michael Spinelli notifications@github.com wrote:

Still not seeing it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

michael-spinelli commented 7 years ago

Was this resolved on your end?

andraje commented 7 years ago

Yes, it looks like the problem was somewhere else in the code. Thanks!