Comments (8)
from tangram-play.
Temporal fix, add absolute url paths throuhg rawgit:
tangrams/tangram-sandbox@10a87c9
from tangram-play.
I've mostly fixed this with code (in Play) that preserves the original source URL. This URL then gets reset each time you load:
-
Load a new example style
-
Start a new file from scratch ("New File")
But there's still a case where the path is not reset -- when you start a load a file from disk.
from tangram-play.
See 358f222 for more info
from tangram-play.
@patriciogonzalezvivo could you help hook this up to the events for opening a file from disk?
from tangram-play.
Sure!
from tangram-play.
There's been an ongoing bug related to this where resources won't load if Tangram Play is started up, and recovers a scene from a previous session. In this particular case, Tangram is initialized with Tangram.leafletLayer({ scene })
, because it's the first run of Tangram. Is there a way to set the base_path
here, similar to scene.load(scene_url, base_path)
?
For additional context, the scene
variable passed to Tangram.leafletLayer()
might be a "laundered" Blob URL, because it's possible that it has been a user-modified version of the original scene file.
from tangram-play.
Resolved via this release: https://github.com/tangrams/tangram/releases/tag/v0.10.5
Fixed via c9e6433
from tangram-play.
Related Issues (20)
- When viewing a scene in tangram/view/, use the `?api=` parameter for scenes saved on the Mapzen platform. HOT 2
- Colors don't tween HOT 1
- add ?api+ query to Play HOT 2
- dynamically update dimensions in screenshot widget when resizing window
- manually set screenshot dimensions
- warn about duplicated properties HOT 11
- provide a method to share a URL to open a scene file in Play HOT 5
- loading indicator in scene load modal
- need cors on fonts
- malformed name from geocoder (minor UTF issue) HOT 1
- saving a scene acquired via another user's Play URL results in an error
- show nested geojson values in the inspector
- Simplify setting API key between mapzen.js and Tangram Play
- it is not clear how one may add additional files HOT 3
- Use pegged version of tangram and mapzen.js in code snippets
- flickering map display HOT 5
- Update Mapzen URLs HOT 1
- Misaligned cursor in comment after color when at end of line
- getting Nexzen api key error for tiles while using an api key HOT 5
- fix build to work with Node 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tangram-play.