Comments (5)
We never built wxWebMap on Linux, only made reasonable edits to make it work, but obviously not all the way. It would be great if you worked it through all the way! I assume that you do not find any map.html
directly under tmp
!?
Please debug and trace the m_url you get at line 17 in wxWebMapApp.cpp. Then try to figure out how to do the same/similar on linux. On Windows I get as shown below:
Code snippet where url is set:
{
wxFileName fn;
fn.SetPath(wxFileName::GetCwd()); // Executable directory
fn.AppendDir("html"); // html folder in executable directory
fn.SetFullName("map.html"); // Template html file
m_url = fn.GetFullPath();
}```
from wxwebmap.
It could also be in wxWebMap.cpp:97 where the template html file is copied to temporary directory (check value of filename):
wxString filename = cOutputFileName.GetFullPath();
Or it could be that file:
is missing in the url (If there is a file map.html in your /tmp then try enter file:/tmp/map.html
or perhaps file:///tmp/map.html
)
from wxwebmap.
The path is correct with the map.html
file present but no output
from wxwebmap.
After "hard-coding" the path, in the Logging Window there is no error anymore, and, based on logging, the /tmp/map.html
is loaded, but, still, the URL can't be shown :
from wxwebmap.
Putting the entire "absolute path" to the file : file:///home/raphy/wxWidgets/wxWebMap/data/html/map.html
makes the map visible
from wxwebmap.
Related Issues (4)
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 wxwebmap.