All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MapFlightEx layers
PostPosted: Mon Mar 13, 2017 10:56 am 
Offline
cvx - FlightAware user avatar

Joined: Sun Mar 12, 2017 9:57 am
Posts: 2
Hello everybody,

I would like to do API calls to MapFlightEx web service but have some difficulties with the layer configuration.

Calling MapFlight with the following request works great:
http://myuser:mykey@flightxml.flightaware.com/json/FlightXML2/MapFlight?ident=DLH456
Image

and also calling MapFlightEx with
http://myuser:mykey@flightxml.flightaware.com/json/FlightXML2/MapFlightEx?faFlightID=DLH456-1488954354-airline-0245:0
Image

as well as
http://myuser:mykey@flightxml.flightaware.com/json/FlightXML2/MapFlightEx?faFlightID=DLH456-1488954354-airline-0245:0&show_data_blocks=true
Image

works. But when it comes to layers, I'm unable to disable any one the listed ones. Also the defaults seem to be mixed as european country bounaries are visible altough they're documented to be disabled. Following the instructions discussed in http://discussions.flightaware.com/flightxml/mapflight-and-mapflightex-return-blank-images-t17402.html I added quotation marks and plus signs but I could not get rid off the weather overlay.

http://myuser:mykey@flightxml.flightaware.com/json/FlightXML2/MapFlightEx?faFlightID=DLH456-1488954354-airline-0245:0&layer_off="radar"+"water"

Can you please give me a hint on what's wrong with my calls?

Thank you very much in advance. :-)

Best regards
Christoph

Images posted on imgur: http://imgur.com/a/WjEEx


Top
 Profile  
 
 Post subject: Re: MapFlightEx layers
PostPosted: Tue Mar 14, 2017 4:37 pm 
Offline
FlightAware Staff
conej730 - FlightAware user avatar

Joined: Sat Sep 13, 2008 11:00 pm
Posts: 16
It appears that the layer_on and layer_off parameters are not working as expected currently. We're investigating a cause and have created a ticket for this bug.


Top
 Profile  
 
 Post subject: Re: MapFlightEx layers
PostPosted: Tue Mar 14, 2017 5:10 pm 
Offline
cvx - FlightAware user avatar

Joined: Sun Mar 12, 2017 9:57 am
Posts: 2
Thank you very much :-) The idea to provide such an endpoint returning map extracts and flight paths (expected as well as actual) is great and makes it a lot easier to comprehend flight routes in a visual way :-)


Top
 Profile  
 
 Post subject: Re: MapFlightEx layers
PostPosted: Wed Mar 15, 2017 10:52 am 
Offline
FlightAware Staff
conej730 - FlightAware user avatar

Joined: Sat Sep 13, 2008 11:00 pm
Posts: 16
We've identified the bug and should have a fix in place by the end of next week for the layer_on and layer_off properties of MapFlightEx.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: