Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deploy the widget #1

Open
joseanta opened this issue Apr 6, 2018 · 0 comments
Open

How to deploy the widget #1

joseanta opened this issue Apr 6, 2018 · 0 comments

Comments

@joseanta
Copy link

joseanta commented Apr 6, 2018

Hi.
I am trying to deploy the widget in my AppBuilder developer. Both in the stemap and directly in a new application.

  • I have renamed the folder to "FileImporter".
  • I have copied the files "togeojson.js" and "proj4.js" to the folder
  • I have made the references in the files "config.js" and "init.js".

When I run the application and the witget, it gives error in the file widget.js on line 827, in the function "var geojson = toGeoJSON.gpx (dom);".
The object "toGeoJSON" does not recognize it. It does not recognize its functions and methods.
I think I may be that I have not deployed the dependency libraries. I just copied the files "togeojson.js" and "proj4.js" to the folder .
Is this copy enough? Do we have to deploy the libraries in another way? How is it done?
That could be happening?
Could you help me?

thank you very much
Jose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant