Code

Discussion on Miniature Earth | 3D Globe for JavaScript

hipedcom

hipedcom supports this item

Supported

This author's response time can be up to 2 business days.

73 comments found.

Loque_k

Loque_k Purchased

It would be really awesome to support MTL files. Is this possible to do without too much trouble? I am noticing it is quite tricky to pin down the right loaders for three and implement them. I appreciate this is probably out of scope for support, but if you have any insight or know of anything that might help me implement mtl & obj files with this I’d really appreciate it.

I am currently stuck finding and adding the right loaders to the bundle so I can then load the mtl files into/with the objects. I think if I had this I should be able to add mtl files in a similar way addMesh works and then reference them… could be really cool… altho, this is my first go with 3d objects and three so I might be missing some common pitfalls.

Many thanks!

It is possible to load a 3D file with THREE.js methods and add it as child element of a dummy marker to place it on the earth and move it arround.

Is there a hover feature for each country or will I have to implement that feature?

Ok. I just thought it looks like a good challenge. Is there an already done example that I can look at?

There is no example for this particular case. You can easily write a test for this by using code from misc/earth-adv-getlocation.htm and country-selector.htm Thank you

Ok. Thank you.

Can we calculate Sun location from current data and time? Is there a pre-defined method to get sunAngle by passing date and time?

I’m sorry, there are no methods to calculate the real sunlight position.

I bought this plugin and when I’m trying to embedding the plugin to my angular 9 project its not working, I’m getting a lot of errors. for example: Cannot read property ‘removed’ of undefined at Earth.updateAnimations.

Some try to embed it angular 9?

The library is not prepared for particular frameworks. Please load the library with native JavaScript as in the examples.

can we change the background from this

https://miniature.earth/demo/photo-locations.htm

to

https://miniature.earth/demo/hologram.htm

if so i would be interested on buying this

Yes, of course. All demos and examples can be modified to your needs. Thank you

Chipped

Chipped Purchased

Hi, trying to add this library to a Vue cli app, struggling to get it working though, can you help?

Miniature Earth is not yet prepared for frameworkds or package managers. Please load the library the classical way, using the script tag and use the code from the examples. Thank you

Hi there, thank you for this amazing 3D earth!

I’m on a project and i wonder if it is possible to incorporate a map like openStreetMap with vector tiles or raster tiles, not only svg and png ?

Thanks again.

Hi! If you can generate a world map image (in equirectangular projection) with openStreetMap you can use it with the earth. Thank you

Hi, i want to buy your app, but i need to know, how i can customize your app to my project.

i have json file with markers and other information, i want to click on a marker on the map and open popup with information regarding to the poing.

I can send you screenshot of my design, if it would be more helpfull for you.

Hi. If you are familiar with JavaScript it is easy to setup the earth and customize it for your needs. You get an API documentation and many examples. You can send me a screenshot ( support@miniature.earth ) if you need to verify that a certain feature is supported. Thank you!

Test

I will anwser to your email. Thank you

Hello! This is a great plugin. Would you kindly be able to send me some more working examples for WordPress (the js/css file) to help me get started? I don’t need anything complicated – just a realistic globe, clickable pins and a pop-up image per-pin. Thanks in advance!

I’ve tried this already but couldn’t get it to work, so I would really appreciate a jump-start here to integrate with WP. I’ve already installed the plugin – it’s just the editable files I need help with. Thank you

Hi, please write to support@miniature.earth so I can send you some files. Thank you

Brilliant, many thanks. I’ve just sent this.

kkowlgi

kkowlgi Purchased

Hi,

Why are the carribbean countries not visible such as Antigua, Barbadaos etc?

thanks cheers Kiran

Very small countries and islands are not included in default SVG map as it would be difficult to see or click them. You can use a map image or a custom SVG map to display all countries.

Hi, nice product. I don’t know JavaScript, but thankfully you provided a WordPress plugin. Great.

I just don’t know how to set things up through the shortcode. If i see a setting in the api, how do I put that in the shortcode.

Also, can I render two kind of globe together? I would like the hologram over the space view.

Hi! The setup of Miniature Earth requires JavaScript skills. The WordPress plugin example offers only some basic features and must be modified to your needs. Open the file myearth.js and insert the earth properties you need (from API documentation) at line 10.

> “hologram over the space view” It is possible but it requires a good understanding of JavaScript.

ok.I might be ok, with simply editing myearth.js using the syntax from the api, Are you able to offer guidance about using the hologram over the space view? or is it too hard to show someone with little javascript knowledge?

I made an example for you and sent it by email. Good luck!

tekno_boy

tekno_boy Purchased

Can I ask for help again? I am even happy to pay.

I have purchased your globe and I just want the globe to look like a mix of two of your examples.

Can I pay to have that? I want miniature.earth.js to be configured to work in WordPress look exactly like this: https://miniature.earth/demo/space-view.htm with this over the top: https://miniature.earth/demo/hologram.htm

Hello, I have already sent you a mixed/combined example for your purposes by e-mail. Maybe it is in your spam folder.

I’m sorry, I can’t do the setup and configuration for you, please hire a web developer.

by
by
by
by
by
by