question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CZML and KML need the ability to pass query parameters

See original GitHub issue

CzmlDataSource and KmlDataSource have no way to specify additional parameters that need to be included in url requests. The most common use for this is query-based access tokens.

Both classes’ load function (and in CZML’s case the process function) should take an additional query object, off of the options object. It would be a dictionary of strings that get converted to a query string via objectToQuery and globbed onto all urls requests.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
mramatocommented, Jun 6, 2017

Isn’t there limited support for reusing existing header auth via TrustedServers?

Good point in that the Authorization header, cookies, and certs would already be added in the case of the server being in the TrustedServers list, but general header support is impossible because of the reason I listed above. I think TrustedServers is the better mechanism to enable what @emackey originally described (and already works today)

0reactions
omh1280commented, Jun 6, 2017

@emackey KML is in progress and very close to done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cesium KML-CZML Editor - End Point Dev
The open-source Cesium KML-CZML Editor is a powerful tool for creating CZML for Cesium, from scratch or converted from Google Earth KML.
Read more >
Porting over GE to Cesium using network links with KML files
I have a project that I am converting from GE to Cesium that relies heavily on Network Links...using KML files. I understand there...
Read more >
KmlDataSource - Cesium Documentation
A DataSource which processes Keyhole Markup Language 2.2 (KML). KML support in Cesium is incomplete, but a large amount of the standard, as...
Read more >
Web Programming - Using Query String to display KML
This lecture demonstrates putting together the Google Maps API KML display capability with links to customize this. JavaScript is used to ...
Read more >
Representing Time-Dynamic Geospatial Objects on Virtual ...
Due to its unique ability to stream massive geospatial datasets, CZML is ... The above-mentioned shortcomings of KML have become more obvious as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found