Comments (8)
It seems like a good idea for themes to be able to style the map content as well as the tile-not-loaded-yet content.
from harp.gl.
Oh! Another thing: by default, the background color of space is the same color as the globe, so in this case even the globe is invisible if no tiles have loaded yet and we've zoomed all the way out and expect to see a sphere. A good default would be two different colors.
from harp.gl.
@trusktr, thanks for reporting this bug, we have a BackgroundDataSource
that could handle this. See the method addGroundPlane
in the TileGeometryCreator
. It should be easy to add texture coordinates and a texture to these tiles as google / apple maps do this, and have this hook up to the style so that this can be configured. I will let the team now and we can look to this, I agree that this should help to provide a better sense of where the user is.
from harp.gl.
That's great that I can configure it, thanks! π A default would be great, so it doesn't give the impression nothing's happening.
from harp.gl.
That might be a good example of what an underlying default layer could look like (but the colors would be beautified for the default experience): https://www.harp.gl/docs/master/examples/#datasource_custom.html
Then any user's custom tiles would load on top (or something). This way there would always be feedback when interacting with the map, especially on slow connections.
(In fact, in that example I thought I had to wait for something: I thought the white tiles with red lines were default tiles for that particular example, so I was waiting and waiting, but then I realized that the red lines were the example.)
from harp.gl.
@trusktr , thanks for the added feedback. Have created internal task HARP-9401 so that one of our developers can pick it up if they have time.
from harp.gl.
Oh! Another thing: by default, the background color of space is the same color as the globe.
Yeah, the BackgroundDataSource
sets the tiles to be the clear color specified in the Theme, which would probably explain your observation. It isn't possible to style them differently, it would need a separate entry in the Theme to allow this, as you mention above.
from harp.gl.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from harp.gl.
Related Issues (20)
- Give 3D buildings that have 0m height data a random height between 2 values HOT 2
- Load building height data from different sources and combining with Here Maps (ex. Open Street Maps - OSM) HOT 2
- Allow CirclesTechnique points size to be specified in metres and pixels HOT 1
- MapView: Failed to connect to geojson: Error during worker initialization HOT 7
- Getting Started Guide is broken HOT 9
- Some countries has no shaped data at all HOT 2
- Maintaining "North up" in Spherical Map HOT 3
- big polygon broken in some levelοΌ HOT 2
- Optimisation possible for rendering. Only evaluate expressions for items which are in viewport. HOT 1
- Can I use anotherdata server? HOT 2
- Drawing exception problem HOT 4
- [feature] time-based tools HOT 3
- Equirectangular Tiles supported? HOT 3
- reactjs examples that work with current version of Harp HOT 8
- GeoJson is not being extruded. HOT 2
- Heatmap example is blank HOT 5
- Uncaught ReferenceError: THREE is not defined HOT 8
- Help with custom shader water layer HOT 4
- Docs and online examples is 404 HOT 3
- Do existing harp.gl users need to make any changes to match the new change? HOT 2
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 harp.gl.