0
Not a bug

overlayFootprints over Javascript API ignores color

patricio cubillos 3 months ago updated by Deborah Baines 3 months ago 2

Hi,

I'm drawing a circle footprint around my target of interest, and it seems that the Javascript command is ignoring my color input. Below is an example of a command I'm sending.  I'm always getting a red circle no matter what I set as color.

{'event': 'overlayFootprints',
'content': {'overlaySet': {'type': 'FootprintListOverlay',
'overlayName': 'visit splitting distance',
'cooframe': 'J2000',
'color': '#15B01A',
'lineWidth': 5,
'skyObjectList': [{'name': 'visit splitting distance',
'id': 1,
'stcs': 'CIRCLE ICRS 315.02596610 -5.09485700 0.0222',
'ra_deg': '315.02596610',
'dec_deg': '-5.09485700'}]}}}

Not a bug

Dear Patricio,

I'm glad this functionality is working for you!  We'll reply to your other two questions asap.

Many thanks and I'm glad you're finding the API useful! 

Best regards,

Debbie

Ahh, nope, scratch that. All is working fine now. I think earlier I was testing it on an unresponsive page.