arthur-e / Wicket

A modest library for moving between Well-Known Text (WKT) and various framework geometries
https://arthur-e.github.io/Wicket/
Other
586 stars 226 forks source link

Fix #90. Fix Wkt scope problem and adds arcgis working samples. #155

Closed cancastilho closed 3 years ago

cancastilho commented 3 years ago

To solve 'multiple define errors' when using this library with arcgis, Wkt variable must be set as global scope.

This pull request adds working samples for arcgis javascript api version 3.x and 4.x. To see them working, you should start a http-server from the project root path and open the url as following:

http://localhost:8080/doc/arcgis3.html

or

http://localhost:8080/doc/arcgis4.html

I recommend deleting the old arcgis.html sample, since it's not working.

arthur-e commented 3 years ago

This is great! Thanks.

arthur-e commented 3 years ago

Just want to add a link indicating this fixes #90.

arthur-e commented 3 years ago

This does indeed fix the demos in the doc/ folder, if someone sets up a local HTTP server. However, I am struggling with how to fix the demos on the gh-pages branch. These are the ones that people actually see (i.e., on the public web) and are referenced in #90 and #152.